]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor btree cursor allocation function
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Sep 2021 19:25:32 +0000 (12:25 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 19 Oct 2021 18:45:15 +0000 (11:45 -0700)
commit49f13ae0de98ba3bb625068ad055617a09f36f0f
tree451401b83adf0d7f33a79fd96d791169b3fe2ee2
parent345820d0f1b49ed4e038afe63cdbe51484dfd0c5
xfs: refactor btree cursor allocation function

Refactor btree allocation to a common helper.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_refcount_btree.c
fs/xfs/libxfs/xfs_rmap_btree.c