]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: split xfs_da3_node_read
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:46 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:46 +0000 (11:29 -0500)
commit02cc49957a48c8b116479c43b2f73cfa60f55844
tree6258eedb03027ecfc45bbb5f2826a85f94de5d76
parent5fcb9cbca31ffc2f4143c06bddb1cd51181a6e10
xfs: split xfs_da3_node_read

Source kernel commit: 02c57f0a8b07f5c8a393530ff29b2f6fbe17c825

Split xfs_da3_node_read into one variant that always looks up the daddr
and doesn't accept holes, and one that already has a daddr at hand.
This is in preparation of splitting up xfs_da_read_buf in a similar way.

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.c
libxfs/xfs_da_btree.c
libxfs/xfs_da_btree.h