Skip to content

Commit

Permalink
xfs: Fix mp->m_maxagi update during inode64 remount
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlos Maiolino authored and Ben Myers committed Sep 26, 2012
1 parent 2d2194f commit 4c08372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
/*
Expand Down

0 comments on commit 4c08372

Please sign in to comment.