aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2014-04-13 15:41:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-04-13 15:41:13 -0400
commita18ed359bdddcded4f97ff5e2f07793ff9336913 (patch)
treee97441cbb56686a6d6b30cb562435f01ca6ddb8a /fs/ext4/balloc.c
parentext4: fix error handling in ext4_ext_shift_extents (diff)
downloadlinux-dev-a18ed359bdddcded4f97ff5e2f07793ff9336913.tar.xz
linux-dev-a18ed359bdddcded4f97ff5e2f07793ff9336913.zip
ext4: always check ext4_ext_find_extent result
Where are some places where logic guaranties us that extent we are searching exits, but this may not be true due to on-disk data corruption. If such corruption happens we must prevent possible null pointer dereferences. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions