]> git.neil.brown.name Git - history.git/commit
[PATCH] reiserfs: cleanup_bitmap_list() check for NULL argument.
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:16:29 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:16:29 +0000 (03:16 -0800)
commit1c779e42b75c167b7ac1876f87cb1c1f1e17a0c3
tree2f03e58eaa97ba19f9e635c4262bd71d8832ddb6
parent8283a979b1bd0c92a4713ccb6f79f18dae2d7e93
[PATCH] reiserfs: cleanup_bitmap_list() check for NULL argument.

From: Nikita Danilov <Nikita@Namesys.COM>

fs/reiserfs/journal.c:cleanup_bitmap_list() can be called to cleanup
reiserfs_list_bitmap that was only partly initialized. Check that
jb->bitmaps array was actually allocated, before trying to free its
elements.
fs/reiserfs/journal.c