xfs: return committed status from xfs_trans_roll()
authorBrian Foster <bfoster@redhat.com>
Tue, 18 Aug 2015 23:50:13 +0000 (09:50 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 18 Aug 2015 23:50:13 +0000 (09:50 +1000)
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.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h

Simple merge
Simple merge