diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-23 18:35:31 -0800 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 15:05:48 -0800 |
commit | 2fe5c1d7eb88830b09c863a4b5b3279dc120f3af (patch) | |
tree | c04e3249e3ae14f935ae1d090cd88833c96e6e3b /include/asm-um/ptrace-x86_64.h | |
parent | 7ec373cf33533af6c50828a62f6b305c2d7fa931 (diff) | |
download | blackbird-op-linux-2fe5c1d7eb88830b09c863a4b5b3279dc120f3af.tar.gz blackbird-op-linux-2fe5c1d7eb88830b09c863a4b5b3279dc120f3af.zip |
ocfs2: clean up bh null checks
If we know a buffer_head is non-null, then brelse() is unnecessary and
put_bh() can be used instead. Also, an explicit check for NULL is
unnecessary when using brelse(). This patch only covers buffer_head_io.c and
resize.c, which have recently added code which exhibits this problem.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'include/asm-um/ptrace-x86_64.h')
0 files changed, 0 insertions, 0 deletions