diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.h')
-rw-r--r-- | fs/xfs/xfs_dir2.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2.h b/fs/xfs/xfs_dir2.h index 076010a1376a..9ba9db731990 100644 --- a/fs/xfs/xfs_dir2.h +++ b/fs/xfs/xfs_dir2.h | |||
@@ -74,11 +74,15 @@ struct xfs_dir_ops { | |||
74 | (*data_entry_p)(struct xfs_dir2_data_hdr *hdr); | 74 | (*data_entry_p)(struct xfs_dir2_data_hdr *hdr); |
75 | struct xfs_dir2_data_unused * | 75 | struct xfs_dir2_data_unused * |
76 | (*data_unused_p)(struct xfs_dir2_data_hdr *hdr); | 76 | (*data_unused_p)(struct xfs_dir2_data_hdr *hdr); |
77 | |||
78 | int (*leaf_hdr_size)(void); | ||
79 | int (*leaf_max_ents)(struct xfs_mount *mp); | ||
80 | struct xfs_dir2_leaf_entry * | ||
81 | (*leaf_ents_p)(struct xfs_dir2_leaf *lp); | ||
77 | }; | 82 | }; |
78 | 83 | ||
79 | extern const struct xfs_dir_ops xfs_dir2_ops; | 84 | extern const struct xfs_dir_ops * |
80 | extern const struct xfs_dir_ops xfs_dir2_ftype_ops; | 85 | xfs_dir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); |
81 | extern const struct xfs_dir_ops xfs_dir3_ops; | ||
82 | 86 | ||
83 | /* | 87 | /* |
84 | * Generic directory interface routines | 88 | * Generic directory interface routines |