summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir.h
diff options
context:
space:
mode:
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 488defe..8cc8afb 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__ */
OpenPOWER on IntegriCloud