aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-05-19 21:30:27 -0400
committerNiv Sardi <xaiki@debian.org>2008-07-28 02:58:14 -0400
commit4b166de0a061e4e89d0741a5d080b141f11e2c9b (patch)
treeda067387128732a7e26521fb906a911a45590d1e /fs/xfs/xfs_mount.c
parent911ee3de3d1cb6620e2ac4e0678ff434867e2644 (diff)
[XFS] Update valid fields in xfs_mount_log_sb()
Recent changes to update the version number during mount (attr2 stuff) failed to change the assert that checked for calid flags being changed on mount. Clearly this path hasn't been exercised by the test code.... SGI-PV: 981950 SGI-Modid: xfs-linux-melb:xfs-kern:31183a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index c63f410ccfaa..b484ca32641f 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -1934,7 +1934,8 @@ xfs_mount_log_sb(
1934 int error; 1934 int error;
1935 1935
1936 ASSERT(fields & (XFS_SB_UNIT | XFS_SB_WIDTH | XFS_SB_UUID | 1936 ASSERT(fields & (XFS_SB_UNIT | XFS_SB_WIDTH | XFS_SB_UUID |
1937 XFS_SB_FEATURES2 | XFS_SB_BAD_FEATURES2)); 1937 XFS_SB_FEATURES2 | XFS_SB_BAD_FEATURES2 |
1938 XFS_SB_VERSIONNUM));
1938 1939
1939 tp = xfs_trans_alloc(mp, XFS_TRANS_SB_UNIT); 1940 tp = xfs_trans_alloc(mp, XFS_TRANS_SB_UNIT);
1940 error = xfs_trans_reserve(tp, 0, mp->m_sb.sb_sectsize + 128, 0, 0, 1941 error = xfs_trans_reserve(tp, 0, mp->m_sb.sb_sectsize + 128, 0, 0,