Skip to content
Snippets Groups Projects
Commit 74f9f974 authored by Edward Shishkin's avatar Edward Shishkin Committed by Linus Torvalds
Browse files

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 439bd370
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment