Eric Sandeen e6957ea484 [XFS] Ensure "both" features2 slots are consistent
Since older kernels may look in the sb_bad_features2 slot for flags,
rather than zeroing it out on fixup, we should make it equal to the
sb_features2 value.

Also, if the ATTR2 flag was not found prior to features2 fixup, it was not
set in the mount flags, so re-check after the fixup so that the current
session will use the feature.

Also fix up the comments to reflect these changes.

SGI-PV: 980085
SGI-Modid: xfs-linux-melb:xfs-kern:30778a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-04-10 16:25:26 +10:00
..
2008-02-07 18:22:38 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 16:46:39 +11:00
2007-07-14 15:28:50 +10:00
2008-02-07 18:14:38 +11:00
2007-10-16 11:40:24 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:47:15 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2008-02-07 16:42:19 +11:00
2008-02-07 18:24:00 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 16:42:19 +11:00