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)
commitd43ac29be7a174f93a3d26cc1e68668fe86b782f
tree9fc18d10e330e9fda9ae1f3d2e1a84a850076c7b
parent5e4b5386a2c29429add601c8cfb45bb10d80c490
xfs: return committed status from xfs_trans_roll()

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