diff options
author | Lukas Czerner <lczerner@redhat.com> | 2013-07-01 12:12:39 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-07-01 12:12:39 (GMT) |
commit | e1be3a928ee0b0b2a893695e6dd5c5dbe293af16 (patch) | |
tree | a03fcedb0198f00c02ace3814a3fe27772cf2dcf /security | |
parent | 42c832debbbf819f6c4ad8601baa559c44105ba4 (diff) | |
download | linux-fsl-qoriq-e1be3a928ee0b0b2a893695e6dd5c5dbe293af16.tar.xz |
ext4: only zero partial blocks in ext4_zero_partial_blocks()
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>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions