diff options
author | Christoph Hellwig <hch@lst.de> | 2015-06-04 13:48:20 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-04 13:48:20 +1000 |
commit | f78c3901074e113a04150230087f1d76033bb0a4 (patch) | |
tree | 1c5bcd4b88cfd62dd370b06051c9f15f6e67e4d9 /fs/xfs/xfs_inode.c | |
parent | 70393313dd0b26a6a79e2737b6dff1f1937b936d (diff) | |
download | linux-f78c3901074e113a04150230087f1d76033bb0a4.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions