diff options
author | Brian Foster <bfoster@redhat.com> | 2018-09-29 13:45:02 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-09-29 13:45:02 +1000 |
commit | 23420d05e67d23728e116321c4afe084ebfa6427 (patch) | |
tree | c6db7f7cbbfa20a23027f39dc604d5d37f09abad /fs/xfs/xfs_buf_item.c | |
parent | d9183105caa926522a4bc8a40e162de7019f1a21 (diff) | |
download | blackbird-obmc-linux-23420d05e67d23728e116321c4afe084ebfa6427.tar.gz blackbird-obmc-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 'fs/xfs/xfs_buf_item.c')
0 files changed, 0 insertions, 0 deletions