summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dir.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-01-11 07:33:02 +0300
committerNathan Scott <nathans@sgi.com>2006-01-11 07:33:02 +0300
commit3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0 (patch)
treeb0dcd39ac52092cb66c022b2ec86bee27dda6a64 /fs/xfs/xfs_dir.h
parenta255a7456d4051e804fd6efff9a7c0f43483a7fc (diff)
downloadlinux-3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0.tar.xz
[XFS] Sort out cosmetic differences between user and kernel copies of some
sources. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24659a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir.h')
-rw-r--r--fs/xfs/xfs_dir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dir.h b/fs/xfs/xfs_dir.h
index 488defe86ba6..8cc8afb9f6c0 100644
--- a/fs/xfs/xfs_dir.h
+++ b/fs/xfs/xfs_dir.h
@@ -135,6 +135,8 @@ void xfs_dir_startup(void); /* called exactly once */
((mp)->m_dirops.xd_shortform_to_single(args))
#define XFS_DIR_IS_V1(mp) ((mp)->m_dirversion == 1)
+#define XFS_DIR_IS_V2(mp) ((mp)->m_dirversion == 2)
extern xfs_dirops_t xfsv1_dirops;
+extern xfs_dirops_t xfsv2_dirops;
#endif /* __XFS_DIR_H__ */