]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: devirtualize ->leaf_hdr_to_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:41 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:41 +0000 (11:29 -0500)
commit7adfbcf66c9d3761e89850032af6373bc4007166
tree8fdddbbdac492c614a21b7a3ef7dd41530873bfb
parent9db68fafac8d977c5229e5cd4929cf65802a7c03
xfs: devirtualize ->leaf_hdr_to_disk

Source kernel commit: 163fbbb3568b6acf762449b8aa7713c764cf860a

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_priv.h