]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out a xfs_defer_create_intent helper
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)
commit1f1f295945ab9075054e1b05a7d089d016dcf040
treeaa4eeb9d06c00e516df58aa1cf3028833d52c561
parent0412561fa01cf69aa0bba0c58396aed35d6c49c8
xfs: factor out a xfs_defer_create_intent helper

Create a helper that encapsulates the whole logic to create a defer
intent.  This reorders some of the work that was done, but none of
that has an affect on the operation as only fields that don't directly
interact are affected.

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