From: Jeff Mahoney Date: Sun, 1 Oct 2006 06:28:42 +0000 (-0700) Subject: [PATCH] reiserfs: clean up bitmap block buffer head references X-Git-Tag: v2.6.19-rc1~548 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3dc17bc0c0997bde9f5d7691ec0cae24258cf7;p=pandora-kernel.git [PATCH] reiserfs: clean up bitmap block buffer head references Similar to the SB_JOURNAL cleanup that was accepted a while ago, this patch uses a temporary variable for buffer head references from the bitmap info array. This makes the code much more readable in some areas. It also uses proper reference counting, doing a get_bh() after using the pointer from the array and brelse()'ing it later. This may seem silly, but a later patch will replace the simple temporary variables with an actual read, so the reference freeing will be used then. Signed-off-by: Jeff Mahoney Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed