Re: [PATCH v2] Btrfs: fix memory leak in the extent_same ioctl

2015-07-06 Thread Mark Fasheh
Thanks for this Filipe, On Fri, Jul 03, 2015 at 11:36:49AM +0100, fdman...@kernel.org wrote: From: Filipe Manana fdman...@suse.com We were allocating memory with memdup_user() but we were never releasing that memory. This affected pretty much every call to the ioctl, whether it deduplicated

[PATCH v2] Btrfs: fix memory leak in the extent_same ioctl

2015-07-03 Thread fdmanana
From: Filipe Manana fdman...@suse.com We were allocating memory with memdup_user() but we were never releasing that memory. This affected pretty much every call to the ioctl, whether it deduplicated extents or not. This issue was reported on IRC by Julian Taylor and on the mailing list by Marcel