]> Git Repo - linux.git/commit - fs/ext4/inode.c
ext4: fix error handling in ext4_ind_get_blocks()
authorJan Kara <[email protected]>
Mon, 23 Nov 2009 12:24:48 +0000 (07:24 -0500)
committerTheodore Ts'o <[email protected]>
Mon, 23 Nov 2009 12:24:48 +0000 (07:24 -0500)
commit2bba702d4f88d7b010ec37e2527b552588404ae7
tree74f46ab1e70328f23f1abbeaf3bf1a49c15a10e8
parent6b17d902fdd241adfa4ce780df20547b28bf5801
ext4: fix error handling in ext4_ind_get_blocks()

When an error happened in ext4_splice_branch we failed to notice that
in ext4_ind_get_blocks and mapped the buffer anyway. Fix the problem
by checking for error properly.

Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
fs/ext4/inode.c
This page took 0.050862 seconds and 4 git commands to generate.