diff options
author | Brian Foster <bfoster@redhat.com> | 2018-09-29 05:45:02 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-09-29 05:45:02 +0200 |
commit | 23420d05e67d23728e116321c4afe084ebfa6427 (patch) | |
tree | c6db7f7cbbfa20a23027f39dc604d5d37f09abad /Kbuild | |
parent | xfs: don't unlock invalidated buf on aborted tx commit (diff) | |
download | linux-23420d05e67d23728e116321c4afe084ebfa6427.tar.xz linux-23420d05e67d23728e116321c4afe084ebfa6427.zip |
xfs: clean up xfs_trans_brelse()
xfs_trans_brelse() is a bit of a historical mess, similar to
xfs_buf_item_unlock(). It is unnecessarily verbose, has snippets of
commented out code, inconsistency with regard to stale items, etc.
Clean up xfs_trans_brelse() to use similar logic and flow as
xfs_buf_item_unlock() with regard to bli reference count handling.
This patch makes no functional changes, but facilitates further
refactoring of the common bli reference count handling code.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions