| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 4/6] xfs: Fix mp->m_maxagi update during inode64 remount |
| From: | Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
| Date: | Wed, 19 Sep 2012 03:11:03 -0300 |
| In-reply-to: | <1348035065-6934-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| References: | <1348035065-6934-1-git-send-email-cmaiolino@xxxxxxxxxx> |
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@xxxxxxxxxx>
---
fs/xfs/xfs_super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 0c2e06f..966f56c 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1129,7 +1129,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:
/*
--
1.7.11.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/6] xfs: reduce code duplication handling inode32/64 options, Carlos Maiolino |
|---|---|
| Next by Date: | [PATCH 5/6] xfs: add inode64->inode32 transition into xfs_set_inode32(), Carlos Maiolino |
| Previous by Thread: | [PATCH 3/6] xfs: reduce code duplication handling inode32/64 options, Carlos Maiolino |
| Next by Thread: | [PATCH 5/6] xfs: add inode64->inode32 transition into xfs_set_inode32(), Carlos Maiolino |
| Indexes: | [Date] [Thread] [Top] [All Lists] |