]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix potential null pointer dereference in ext4_free_inode
authorNamjae Jeon <namjae.jeon@samsung.com>
Sat, 12 Jul 2014 20:11:42 +0000 (16:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Jul 2014 20:11:42 +0000 (16:11 -0400)
commit7d3d8e505159daa06a27b0219efbbfcd10aa2220
tree35f64bb357bc2db7ba35add326deb0d41084e092
parent175d1be85037ae15fa4b38f4e57d7e60fd3682cd
ext4: fix potential null pointer dereference in ext4_free_inode

Fix potential null pointer dereferencing problem caused by 9f1f7a84f2
("ext4: decrement free clusters/inodes counters when block group declared bad")

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
fs/ext4/ialloc.c