]> err.no Git - linux-2.6/commit
[PATCH] reiserfs: journal_init fix
authorEdward Shishkin <edward@namesys.com>
Sun, 1 May 2005 15:59:09 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:09 +0000 (08:59 -0700)
commit74f9f974a64dc3de554aa1977bf108334436e47b
tree0fe911ce4f0b5003e334c6492c5ee7d70ac0dfbd
parent439bd3708792e31057db424d1165473122d531a3
[PATCH] reiserfs: journal_init fix

This fixes segmentation fault when specifying bad journal device via
a mount option.

Don't pass a zero pointer to bdevname() if filp_open() returns error.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/journal.c