]> asedeno.scripts.mit.edu Git - linux.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)
commit163fbbb3568b6acf762449b8aa7713c764cf860a
treec3a6ebfd1033ce01d45391a6ba6a70652584b9d5
parent518425560a8b6ec7516505846c1b79623b467148
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