X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_dir.h;h=8cc8afb9f6c0396ab6dd7f76eef1f8ce562a8be2;hb=e2f99018eb7b29954747a2dd78e9fc0c36a60f0f;hp=488defe86ba6f6af4d5e1494243a72e6d5c0a8d0;hpb=7669a22592fc6cc7ac03f55a7db8d23ce938f1dc;p=linux-2.6 diff --git a/fs/xfs/xfs_dir.h b/fs/xfs/xfs_dir.h index 488defe86b..8cc8afb9f6 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__ */