diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2012-09-20 09:32:39 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-09-26 16:58:21 -0400 |
commit | 4c0837224c677db35cd85b04a77504c496cadb66 (patch) | |
tree | 4b60e25c714153d569e018e1e1c40cc7cfc841b3 /fs/xfs/xfs_super.c | |
parent | 2d2194f61fddab3a9731b6e7a7ae3a4a19dd810c (diff) |
xfs: Fix mp->m_maxagi update during inode64 remount
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 <cmaiolino@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index d6619d685531..aeb03f9a8967 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -1130,7 +1130,7 @@ xfs_fs_remount( | |||
1130 | mp->m_flags &= ~XFS_MOUNT_BARRIER; | 1130 | mp->m_flags &= ~XFS_MOUNT_BARRIER; |
1131 | break; | 1131 | break; |
1132 | case Opt_inode64: | 1132 | case Opt_inode64: |
1133 | xfs_set_inode64(mp); | 1133 | mp->m_maxagi = xfs_set_inode64(mp); |
1134 | break; | 1134 | break; |
1135 | default: | 1135 | default: |
1136 | /* | 1136 | /* |