xfs: devirtualize ->data_entry_tag_p
Replace the ->data_entry_tag_p dir ops method with a directly called xfs_dir2_data_entry_tag_p helper that takes care of the differences between the directory format with and without the file type field. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
fdbb8c5b80
commit
7e8ae7bd1c
@@ -58,6 +58,8 @@ extern int xfs_dir2_leaf_to_block(struct xfs_da_args *args,
|
||||
|
||||
/* xfs_dir2_data.c */
|
||||
int xfs_dir2_data_entsize(struct xfs_mount *mp, int n);
|
||||
__be16 *xfs_dir2_data_entry_tag_p(struct xfs_mount *mp,
|
||||
struct xfs_dir2_data_entry *dep);
|
||||
|
||||
#ifdef DEBUG
|
||||
extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp);
|
||||
|
Reference in New Issue
Block a user