]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: make staging file forks explicit
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:03 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:38 +0000 (11:37 -0700)
commit1ea0233c7a62f9e8411a1ef6ed7a32b6c866a6b7
tree5f6bee0070ac17df22b227e0ae5b720226d30514
parent6536c4295c9c901613540b4251b032f70714182a
xfs: make staging file forks explicit

Source kernel commit: 42e357c806c8c0ffb9c5c2faa4ad034bfe950d77

Don't open-code "-1" for whichfork when we're creating a staging btree
for a repair; let's define an actual symbol to make grepping and
understanding easier.

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