]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: return committed status from xfs_trans_roll()
authorBrian Foster <bfoster@redhat.com>
Tue, 18 Aug 2015 23:50:13 +0000 (09:50 +1000)
committerJack Vogel <jack.vogel@oracle.com>
Mon, 9 Apr 2018 22:58:21 +0000 (15:58 -0700)
commit68eb366b8f551068d166ff4de3bc13971ffd1d32
tree76792c1197b5cbf44b1c0e6169c8b832da388d9f
parentfcf60ba46e15fbf960e4ffe822434c4075d633a5
xfs: return committed status from xfs_trans_roll()

[ Upstream commit d43ac29be7a174f93a3d26cc1e68668fe86b782f ]

Some callers need to make error handling decisions based on whether
the current transaction successfully committed or not. Rename
xfs_trans_roll(), add a new parameter and provide a wrapper to
preserve existing callers.

Orabug: 27609404
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: wen.gang.wang@oracle.com
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h