]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: merge the ->diff_items defer op into ->create_intent
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Feb 2023 05:20:00 +0000 (10:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:50:36 +0000 (12:50 +0100)
commit40268810f2510cb6564737b2c7be2a06a4794603
treedcb5dbde1b752f51f64e46adfc1b29ed28519efd
parentb9e06b1ca81952fc5ba412834c3cb258cbd88d0d
xfs: merge the ->diff_items defer op into ->create_intent

commit 6e642698710262d49ce6c635cba822e8c2d45f03 upstream.

This avoids a per-item indirect call, and also simplifies the interface
a bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/libxfs/xfs_defer.h
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c