Christoph Hellwig
4906e21545
xfs: remove the flags argument to xfs_trans_cancel
...
xfs_trans_cancel takes two flags arguments: XFS_TRANS_RELEASE_LOG_RES and
XFS_TRANS_ABORT. Both of them are a direct product of the transaction
state, and can be deducted:
- any dirty transaction needs XFS_TRANS_ABORT to be properly canceled,
and XFS_TRANS_ABORT is a noop for a transaction that is not dirty.
- any transaction with a permanent log reservation needs
XFS_TRANS_RELEASE_LOG_RES to be properly canceled, and passing
XFS_TRANS_RELEASE_LOG_RES for a transaction without a permanent
log reservation is invalid.
So just remove the flags argument and do the right thing.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-06-04 13:47:56 +10:00
..
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-01 07:46:21 -07:00
2015-04-15 15:06:59 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-03 18:23:53 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-21 16:16:02 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:33:59 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-03-12 18:46:08 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-03-18 10:29:48 +01:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-11 22:29:40 -04:00
2015-04-15 15:06:57 -04:00
2015-03-25 13:27:57 +01:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-06-04 13:47:56 +10:00
2015-04-16 23:27:56 -04:00
2015-04-14 16:49:05 -07:00
2015-04-26 17:22:07 -07:00
2015-04-24 15:45:28 -04:00
2015-04-14 16:49:01 -07:00
2015-04-03 23:21:34 +02:00
2015-04-11 22:29:39 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:05:28 -04:00
2015-04-24 15:45:28 -04:00
2015-04-19 13:46:21 -07:00
2015-04-11 22:29:43 -04:00
2015-04-17 09:04:07 -04:00
2015-04-09 11:39:55 -05:00
2015-03-17 12:23:32 -04:00
2015-04-24 15:45:28 -04:00
2015-04-10 15:08:35 -07:00
2015-04-14 16:49:05 -07:00
2015-04-15 15:06:58 -04:00
2015-04-17 09:04:12 -04:00
2015-04-14 10:22:29 -07:00
2015-04-24 15:52:14 -04:00
2015-04-09 11:39:57 -05:00
2015-04-15 15:06:58 -04:00
2015-04-24 07:08:41 -07:00
2015-04-15 15:06:58 -04:00
2015-04-02 20:34:20 -05:00
2015-04-09 11:39:55 -05:00
2015-04-15 15:06:59 -04:00
2015-04-11 22:29:46 -04:00
2015-04-15 16:35:20 -07:00
2015-04-15 15:06:59 -04:00
2015-04-14 16:49:03 -07:00