OSDN Git Service

xfs: split xfs_da3_node_read
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Nov 2019 17:46:04 +0000 (09:46 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 22 Nov 2019 16:17:10 +0000 (08:17 -0800)
commit02c57f0a8b07f5c8a393530ff29b2f6fbe17c825
tree83e806bc3980809bb62e96d162a3c62bea542a6f
parentf3fcb314d16cdcffb6c521564b86b453869300da
xfs: split xfs_da3_node_read

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>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_da_btree.c
fs/xfs/libxfs/xfs_da_btree.h
fs/xfs/xfs_attr_inactive.c
fs/xfs/xfs_attr_list.c