]> 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)
commit10902f4cea13e29fe2815c52c5060e4d69488b86
treeafb6862938a8b05f614e0a652c94de6104451cfe
parent11410319fea9279b69b86ca3c57dce862c1da6f7
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