]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: devirtualize ->leaf_hdr_to_disk
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 22:57:50 +0000 (14:57 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:20 +0000 (16:54 -0800)
commit45b4459e745ab4bc1029e654ae983754e45afc66
treec3a6ebfd1033ce01d45391a6ba6a70652584b9d5
parentd752ea191578333e5f28a374ca6cfc9fdebd8cc8
xfs: devirtualize ->leaf_hdr_to_disk

Replace the ->leaf_hdr_to_disk dir ops method with a directly called
xfs_dir_leaf_hdr_to_disk helper that takes care of the differences
between the v4 and v5 on-disk format.

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_da_format.c
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/libxfs/xfs_dir2_leaf.c
fs/xfs/libxfs/xfs_dir2_node.c
fs/xfs/libxfs/xfs_dir2_priv.h