diff options
author | Jeff Mahoney <jeffm@suse.com> | 2006-10-01 08:28:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:27 +0200 |
commit | 0b3dc17bc0c0997bde9f5d7691ec0cae24258cf7 (patch) | |
tree | ecdbb6f830737358706b0ba7c628f47f9fdc0ff4 /CREDITS | |
parent | [PATCH] reiserfs: fix is_reusable bitmap check to not traverse the bitmap inf... (diff) | |
download | linux-0b3dc17bc0c0997bde9f5d7691ec0cae24258cf7.tar.xz linux-0b3dc17bc0c0997bde9f5d7691ec0cae24258cf7.zip |
[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 <jeffm@suse.com>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions