]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd88eecb6dc499eeac93da4cc1ad9f672e241d929
treeafb6862938a8b05f614e0a652c94de6104451cfe
parentad5cbc0bd462d918a5ed0ae05c34bf4e1d82d872
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