From: Ilya Dryomov Date: Thu, 10 Oct 2013 17:39:28 +0000 (+0300) Subject: Btrfs: don't leak ioctl args in btrfs_ioctl_dev_replace X-Git-Tag: v3.13-rc1~85^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adfa97cbdfe376b02bb3e1ea3166958fec35ca6f;p=pandora-kernel.git Btrfs: don't leak ioctl args in btrfs_ioctl_dev_replace struct btrfs_ioctl_dev_replace_args memory is leaked if replace is requested on a read-only filesystem. Fix it. Signed-off-by: Ilya Dryomov Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed