[XFS] Fix up noattr2 so that it will properly update the versionnum and
authorTim Shimmin <tes@sgi.com>
Wed, 30 Apr 2008 08:15:28 +0000 (18:15 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:05 +0000 (16:58 +1000)
commit7c12f296500e1157872ef45b3f3bb06b4b73f1c1
treed6737b8ee2775ff70a1a7b5c77a4c25b3423bada
parentf9f6dce01905179d9a209cc1e69fe9047736c112
[XFS] Fix up noattr2 so that it will properly update the versionnum and
features2 fields.

Previously, mounting with noattr2 failed to achieve anything because
although it cleared the attr2 mount flag, it would set it again as soon as
it processed the superblock fields. The fix now has an explicit noattr2
flag and uses it later to fix up the versionnum and features2 fields.

SGI-PV: 980021
SGI-Modid: xfs-linux-melb:xfs-kern:31003a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/xfs_clnt.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_sb.h
fs/xfs/xfs_vfsops.c