]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: merge the ->log_item defer op into ->create_intent
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Feb 2023 05:19:59 +0000 (10:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:50:36 +0000 (12:50 +0100)
commitb9e06b1ca81952fc5ba412834c3cb258cbd88d0d
treecdeba84fb570913fdfb7a97392939425b6b64955
parentda9868759a2c2e922a7015d0a17e732bf4ff5a20
xfs: merge the ->log_item defer op into ->create_intent

commit 7c6de844ba19ac218d708cd5282bf210315c7b67 upstream.

These are aways called together, and my merging them we reduce the amount
of indirect calls, improve type safety and in general clean up the code
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