]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: devirtualize ->node_hdr_to_disk
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 22:57:48 +0000 (14:57 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:19 +0000 (16:54 -0800)
commitfc3d4e109aa30fab803c0ef1eb34c53f1eeb75d4
treec3f4fd8970d9410b5b33ba8d20e802ab7b5a61a3
parent6939a4fd1a4a8e7aea73bfd897fb452bbef6ad49
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>
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_da_btree.c
fs/xfs/libxfs/xfs_da_btree.h
fs/xfs/libxfs/xfs_da_format.c
fs/xfs/libxfs/xfs_dir2.h