Re: [PATCH] ext4: Only zero partial blocks in ext4_zero_partial_blocks()

Theodore Ts'o
2013-06-20T15:01:11Z

On Thu, Jun 20, 2013 at 11:14:33AM +0200, Lukas Czerner wrote:
> Currently if we pass range into ext4_zero_partial_blocks() which covers
> entire block we would attempt to zero it even though we should only zero
> unaligned part of the block.
>
> Fix this by checking whether the range covers the whole block skip
> zeroing if so.
>
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>

Applied, thanks.

- Ted