commit | f78c3901074e113a04150230087f1d76033bb0a4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 04 13:48:20 2015 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Thu Jun 04 13:48:20 2015 +1000 |
tree | 1c5bcd4b88cfd62dd370b06051c9f15f6e67e4d9 | |
parent | 70393313dd0b26a6a79e2737b6dff1f1937b936d [diff] |
xfs: fix xfs_log_done interface Instead of the confusing flags argument pass a boolean flag to indicate if we want to release or regrant a log reservation. Also ensure that xfs_log_done always drop the reference on the log ticket, to both simplify the code and make the logic in xfs_trans_roll easier to understand. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>