]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: merge the ->log_item defer op into ->create_intent
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2020 19:52:20 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:16 +0000 (09:03 -0700)
commit7c6de844ba19ac218d708cd5282bf210315c7b67
tree9fef07057a732be3ad0a2616ff6059d24231b4b3
parent1f1f295945ab9075054e1b05a7d089d016dcf040
xfs: merge the ->log_item defer op into ->create_intent

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>
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