]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: factor out xfs_defer_pending_abort
authorLong Li <leo.lilong@huawei.com>
Thu, 15 Feb 2024 08:27:53 +0000 (09:27 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commitbb98a33c1e8debe33505d8e2b7b4fdbe24d4b6cf
treeb0abdbf570815d418b9a3dc81e831f7bfad15cb1
parent35c3aa608b5b00492e6b99354fe0af52fabb266c
xfs: factor out xfs_defer_pending_abort

Source kernel commit: 2a5db859c6825b5d50377dda9c3cc729c20cad43

Factor out xfs_defer_pending_abort() from xfs_defer_trans_abort(), which
not use transaction parameter, so it can be used after the transaction
life cycle.

Signed-off-by: Long Li <leo.lilong@huawei.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_defer.c