]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: devirtualize ->node_hdr_from_disk
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 22:53:00 +0000 (14:53 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:19 +0000 (16:54 -0800)
commit6939a4fd1a4a8e7aea73bfd897fb452bbef6ad49
treef63ec226edcbcea0c7ed84ccdd845cbeeb3d5504
parent8c1dba19c62b79fc4f0645ac9ed6fe444ea15579
xfs: devirtualize ->node_hdr_from_disk

Replace the ->node_hdr_from_disk dir ops method with a directly called
xfs_da_node_hdr_from_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
fs/xfs/scrub/dabtree.c
fs/xfs/xfs_attr_inactive.c
fs/xfs/xfs_attr_list.c