btrfs: tree_search, search_ioctl: direct copy to userspace
authorGerhard Heift <gerhard@heift.name>
Thu, 30 Jan 2014 15:24:02 +0000 (16:24 +0100)
committerChris Mason <clm@fb.com>
Fri, 13 Jun 2014 01:22:05 +0000 (18:22 -0700)
commitba346b357d70becdd8e20ff9493cd56101ee0f46
treeafb6862938a8b05f614e0a652c94de6104451cfe
parent550ac1d85ef99f3390a6ea87c70b7683647f6110
btrfs: tree_search, search_ioctl: direct copy to userspace

By copying each found item seperatly to userspace, we do not need extra
buffer in the kernel.

Signed-off-by: Gerhard Heift <Gerhard@Heift.Name>
Signed-off-by: Chris Mason <clm@fb.com>
Acked-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ioctl.c