]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: factor out a btree block owner check
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:00 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:37 +0000 (11:37 -0700)
commitc3ba7ebdea698523de9be625b6a117158a172316
treeedb13d219a00233170d8961f66bd9085feeebccb
parent9fba69bb4897bc773bdab0c6b3fafc2aba0ff238
xfs: factor out a btree block owner check

Source kernel commit: 186f20c003199824eb3eb3b78e4eb7c2535a8ffc

Hoist the btree block owner check into a separate helper so that we
don't have an ugly multiline if statement.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_btree.c