]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: devirtualize ->node_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)
commitb81278faddd78f7cee917bcf95c4082e9891b9a9
treee2d8138e3218e753dad28533ba19aea36bd5a138
parent08c16786001e1e684e806f3dda89175032a51904
xfs: devirtualize ->node_hdr_to_disk

Source kernel commit: e1c8af1e02c7893f2d056aa44c4daf59fe0881ed

Replace the ->node_hdr_to_disk dir ops method with a directly called
xfs_da_node_hdr_to_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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr_leaf.c
libxfs/xfs_da_btree.c
libxfs/xfs_da_btree.h
libxfs/xfs_da_format.c
libxfs/xfs_dir2.h