Skip to content
Commit d1111a75 authored by Nick Terrell's avatar Nick Terrell Committed by David Sterba
Browse files

btrfs: Call kunmap if zlib_inflateInit2 fails



If zlib_inflateInit2 fails, the input page is never unmapped.
Add a call to kunmap when it fails.

Signed-off-by: default avatarNick Terrell <nickrterrell@gmail.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent ed0df618
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment