Mark Fasheh 2fe5c1d7eb 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>
2008-01-25 15:05:48 -08:00
..
2008-01-25 15:05:46 -08:00
2008-01-25 15:05:46 -08:00
2008-01-25 14:46:01 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 14:45:34 -08:00
2008-01-25 14:46:01 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 15:05:45 -08:00
2008-01-25 15:05:43 -08:00
2008-01-25 14:45:34 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 15:05:19 -08:00
2008-01-25 14:46:01 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 15:05:48 -08:00
2008-01-25 14:45:34 -08:00
2008-01-25 14:45:34 -08:00
2008-01-25 15:05:44 -08:00
2008-01-25 15:05:46 -08:00