aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_dir2.h')
-rw-r--r--fs/xfs/xfs_dir2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dir2.h b/fs/xfs/xfs_dir2.h
index 9ba9db731990..c5cad9d9239d 100644
--- a/fs/xfs/xfs_dir2.h
+++ b/fs/xfs/xfs_dir2.h
@@ -79,10 +79,16 @@ struct xfs_dir_ops {
79 int (*leaf_max_ents)(struct xfs_mount *mp); 79 int (*leaf_max_ents)(struct xfs_mount *mp);
80 struct xfs_dir2_leaf_entry * 80 struct xfs_dir2_leaf_entry *
81 (*leaf_ents_p)(struct xfs_dir2_leaf *lp); 81 (*leaf_ents_p)(struct xfs_dir2_leaf *lp);
82
83 int (*node_hdr_size)(void);
84 struct xfs_da_node_entry *
85 (*node_tree_p)(struct xfs_da_intnode *dap);
82}; 86};
83 87
84extern const struct xfs_dir_ops * 88extern const struct xfs_dir_ops *
85 xfs_dir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); 89 xfs_dir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp);
90extern const struct xfs_dir_ops *
91 xfs_nondir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp);
86 92
87/* 93/*
88 * Generic directory interface routines 94 * Generic directory interface routines