]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the mappedbno argument to xfs_da_read_buf
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)
commit5f356ae6d631bc2e201338669493dcda28646015
treed4b9ad309e7165d8d377bbfe69d05a60f3adda32
parent02cc49957a48c8b116479c43b2f73cfa60f55844
xfs: remove the mappedbno argument to xfs_da_read_buf

Source kernel commit: cd2c9f1b544b8f5e1ca1874032fd669d74946a6d

Move the code for reading an already mapped block into
xfs_da3_node_read_mapped, which is the only caller ever passing a block
number in the mappedbno argument and replace the mappedbno argument with
the simple xfs_dabuf_get flags.

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_dir2_block.c
libxfs/xfs_dir2_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_priv.h