Skip to content
Commit 2f19cad9 authored by Chris Mason's avatar Chris Mason Committed by Linus Torvalds
Browse files

btrfs: zero out left over bytes after processing compression streams



Don Bailey noticed that our page zeroing for compression at end-io time
isn't complete.  This reworks a patch from Linus to push the zeroing
into the zlib and lzo specific functions instead of trying to handle the
corners inside btrfs_decompress_buf2page

Signed-off-by: default avatarChris Mason <clm@fb.com>
Reviewed-by: default avatarJosef Bacik <jbacik@fb.com>
Reported-by: default avatarDon A. Bailey <donb@securitymouse.com>
cc: stable@vger.kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7a5a4f97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment