]> Git Repo - linux.git/commitdiff
xfs: Fix mp->m_maxagi update during inode64 remount
authorCarlos Maiolino <[email protected]>
Thu, 20 Sep 2012 13:32:39 +0000 (10:32 -0300)
committerBen Myers <[email protected]>
Wed, 26 Sep 2012 20:58:21 +0000 (15:58 -0500)
With the changes made on xfs_set_inode64(), to make it behave as
xfs_set_inode32() (now leaving to the caller the responsibility to update
mp->m_maxagi), we use the return value of xfs_set_inode64() to update
mp->m_maxagi during remount.

Signed-off-by: Carlos Maiolino <[email protected]>
Reviewed-by: Mark Tinguely <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
fs/xfs/xfs_super.c

index d6619d68553128fe123778cc3b7da372a563176f..aeb03f9a8967330faa9c83dc9e9e489c4c1594a1 100644 (file)
@@ -1130,7 +1130,7 @@ xfs_fs_remount(
                        mp->m_flags &= ~XFS_MOUNT_BARRIER;
                        break;
                case Opt_inode64:
-                       xfs_set_inode64(mp);
+                       mp->m_maxagi = xfs_set_inode64(mp);
                        break;
                default:
                        /*
This page took 0.059808 seconds and 4 git commands to generate.