diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_priv.h')
| -rw-r--r-- | fs/xfs/xfs_dir2_priv.h | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_priv.h b/fs/xfs/xfs_dir2_priv.h index 01b82dcddc3..7da79f6515f 100644 --- a/fs/xfs/xfs_dir2_priv.h +++ b/fs/xfs/xfs_dir2_priv.h @@ -30,6 +30,8 @@ extern int xfs_dir_cilookup_result(struct xfs_da_args *args,  				const unsigned char *name, int len);  /* xfs_dir2_block.c */ +extern const struct xfs_buf_ops xfs_dir2_block_buf_ops; +  extern int xfs_dir2_block_addname(struct xfs_da_args *args);  extern int xfs_dir2_block_getdents(struct xfs_inode *dp, void *dirent,  		xfs_off_t *offset, filldir_t filldir); @@ -45,7 +47,9 @@ extern int xfs_dir2_leaf_to_block(struct xfs_da_args *args,  #else  #define	xfs_dir2_data_check(dp,bp)  #endif -extern void xfs_dir2_data_write_verify(struct xfs_buf *bp); + +extern const struct xfs_buf_ops xfs_dir2_data_buf_ops; +  extern int __xfs_dir2_data_check(struct xfs_inode *dp, struct xfs_buf *bp);  extern int xfs_dir2_data_read(struct xfs_trans *tp, struct xfs_inode *dp,  		xfs_dablk_t bno, xfs_daddr_t mapped_bno, struct xfs_buf **bpp); @@ -73,8 +77,8 @@ extern void xfs_dir2_data_use_free(struct xfs_trans *tp, struct xfs_buf *bp,  		xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp);  /* xfs_dir2_leaf.c */ -extern void xfs_dir2_leafn_read_verify(struct xfs_buf *bp); -extern void xfs_dir2_leafn_write_verify(struct xfs_buf *bp); +extern const struct xfs_buf_ops xfs_dir2_leafn_buf_ops; +  extern int xfs_dir2_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,  		xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp);  extern int xfs_dir2_block_to_leaf(struct xfs_da_args *args,  |