diff options
author | Jan Kara <jack@suse.cz> | 2014-10-30 10:53:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 08:47:58 -0800 |
commit | 6ce75ebb5334c12febaf520682926ce34c3cfe2b (patch) | |
tree | dbbac8662cbdbf67d6cb406e9aec9cbb9749f8c6 /include/linux/oom.h | |
parent | 4bf70f9f0280e5f396e4338967982c4325167259 (diff) | |
download | linux-linaro-stable-6ce75ebb5334c12febaf520682926ce34c3cfe2b.tar.gz |
ext4: fix oops when loading block bitmap failed
commit 599a9b77ab289d85c2d5c8607624efbe1f552b0f upstream.
When we fail to load block bitmap in __ext4_new_inode() we will
dereference NULL pointer in ext4_journal_get_write_access(). So check
for error from ext4_read_block_bitmap().
Coverity-id: 989065
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/oom.h')
0 files changed, 0 insertions, 0 deletions