diff options
author | 2013-05-27 23:32:35 -0400 | |
---|---|---|
committer | 2013-05-27 23:32:35 -0400 | |
commit | 78fb9cdf035d88a39a5e5f83bb8788e4fe7c1f72 (patch) | |
tree | 7f5feecf913163a790d468908c9696e2181f5a36 /fs/jbd2/commit.c | |
parent | ext4: remove unused discard_partial_page_buffers (diff) | |
download | wireguard-linux-78fb9cdf035d88a39a5e5f83bb8788e4fe7c1f72.tar.xz wireguard-linux-78fb9cdf035d88a39a5e5f83bb8788e4fe7c1f72.zip |
ext4: remove unused code from ext4_remove_blocks()
The "head removal" branch in the condition is never used in any code
path in ext4 since the function only caller ext4_ext_rm_leaf() will make
sure that the extent is properly split before removing blocks. Note that
there is a bug in this branch anyway.
This commit removes the unused code completely and makes use of
ext4_error() instead of printk if dubious range is provided.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions