xfs: make staging file forks explicit
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:39:43 +0000 (12:39 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:39:43 +0000 (12:39 -0800)
commit42e357c806c8c0ffb9c5c2faa4ad034bfe950d77
tree028d2f8ff2b7975e2b931676580e7115db896bbb
parent579d7022d1afea8f4475d1750224ec0b652febee
xfs: make staging file forks explicit

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>
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_types.h