diff options
author | Jan Kara <jack@suse.cz> | 2009-04-02 19:57:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 22:04:52 -0400 |
commit | ecca9af0a98fdacfcdc73979d08481d7b27ff986 (patch) | |
tree | 41aa40eedd27799b2fa021138173c1adcabe89a5 /kernel/rwsem.c | |
parent | 039fd8ce6258e01ec29f1637f9bf1868dd877c55 (diff) |
jbd: fix oops in jbd_journal_init_inode() on corrupted fs
On 32-bit system with CONFIG_LBD getblk can fail because provided block
number is too big. Make JBD gracefully handle that.
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: <dmaciejak@fortinet.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions