]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add log item method to return related intents
authorDave Chinner <dchinner@redhat.com>
Wed, 4 May 2022 01:46:39 +0000 (11:46 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 4 May 2022 01:46:39 +0000 (11:46 +1000)
commit18c4afba536c33a853ef1c61d208cedf2976211e
treee85aa1a0a8d8636b0228928a6b05a8fda0a4e693
parentfea4cf0b47d638cc0f28581b4a3ca34e55012d78
xfs: add log item method to return related intents

To apply a whiteout to an intent item when an intent done item is
committed, we need to be able to retrieve the intent item from the
the intent done item. Add a log item op method for doing this, and
wire all the intent done items up to it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c
fs/xfs/xfs_trans.h