xfs: devirtualize ->node_hdr_to_disk
Replace the ->node_hdr_to_disk dir ops method with a directly called xfs_da_node_hdr_to_disk helper that takes care of the v4 vs v5 difference. 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
f475dc4dc7
commit
e1c8af1e02
@@ -82,8 +82,6 @@ struct xfs_dir_ops {
|
||||
(*leaf_ents_p)(struct xfs_dir2_leaf *lp);
|
||||
|
||||
int node_hdr_size;
|
||||
void (*node_hdr_to_disk)(struct xfs_da_intnode *to,
|
||||
struct xfs_da3_icnode_hdr *from);
|
||||
struct xfs_da_node_entry *
|
||||
(*node_tree_p)(struct xfs_da_intnode *dap);
|
||||
|
||||
|
Reference in New Issue
Block a user