Re: [PATCH v3 15/18] ext4: remove unused code from ext4_remove_blocks()

2013-04-18 Thread Jan Kara
On Tue 09-04-13 11:14:24, Lukas Czerner wrote: > 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

[PATCH v3 15/18] ext4: remove unused code from ext4_remove_blocks()

2013-04-09 Thread Lukas Czerner
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 completel