]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: devirtualize ->free_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)
commit515b68f63ae4f3be7868c06486a0b7383dff9a2b
treee38592da0bf04083c0437b3139c00a3db623d13b
parent61e2142e0c2d9a3643d349c4b8e433d88da1cc52
xfs: devirtualize ->free_hdr_to_disk

Source kernel commit: 200dada70008a1204ddd3d95250d23d6477e20e6

Replace the ->free_hdr_to_disk dir ops method with a directly called
xfs_dir2_free_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_node.c