summaryrefslogtreecommitdiffstats
path: root/lib/random32.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-10-30 15:53:17 +0100
committerTheodore Ts'o <tytso@mit.edu>2014-10-30 15:53:17 +0100
commit6050d47adcadbb53582434d919ed7f038d936712 (patch)
tree25fdc7507203649d82fdd1c943b1e70ac2cb6722 /lib/random32.c
parentjbd2: use a better hash function for the revoke table (diff)
downloadlinux-6050d47adcadbb53582434d919ed7f038d936712.tar.xz
linux-6050d47adcadbb53582434d919ed7f038d936712.zip
ext4: bail out from make_indexed_dir() on first error
When ext4_handle_dirty_dx_node() or ext4_handle_dirty_dirent_node() fail, there's really something wrong with the fs and there's no point in continuing further. Just return error from make_indexed_dir() in that case. Also initialize frames array so that if we return early due to error, dx_release() doesn't try to dereference uninitialized memory (which could happen also due to error in do_split()). Coverity-id: 741300 Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions