summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dir.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-01-11 15:32:01 +1100
committerNathan Scott <nathans@sgi.com>2006-01-11 15:32:01 +1100
commit13059ff04c5071c3f6f8a4bd9e51631849f63fa4 (patch)
tree5a038d985cefde848e52c7bc232a71df454f3e0e /fs/xfs/xfs_dir.c
parente13a73f02595c564e423bda5742fb8df4ebca455 (diff)
downloadlwn-13059ff04c5071c3f6f8a4bd9e51631849f63fa4.tar.gz
lwn-13059ff04c5071c3f6f8a4bd9e51631849f63fa4.zip
[XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and
consistent. SGI-PV: 941645 SGI-Modid: xfs-linux-melb:xfs-kern:202961a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir.c')
-rw-r--r--fs/xfs/xfs_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir.c b/fs/xfs/xfs_dir.c
index 3dd30391f551..bb87d2a700a9 100644
--- a/fs/xfs/xfs_dir.c
+++ b/fs/xfs/xfs_dir.c
@@ -176,7 +176,7 @@ xfs_dir_mount(xfs_mount_t *mp)
uint shortcount, leafcount, count;
mp->m_dirversion = 1;
- if (mp->m_flags & XFS_MOUNT_COMPAT_ATTR) {
+ if (!(mp->m_flags & XFS_MOUNT_ATTR2)) {
shortcount = (mp->m_attroffset -
(uint)sizeof(xfs_dir_sf_hdr_t)) /
(uint)sizeof(xfs_dir_sf_entry_t);