]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: stop using vfs_read in send
authorJosef Bacik <jbacik@fusionio.com>
Fri, 25 Oct 2013 15:36:01 +0000 (11:36 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:07:11 +0000 (22:07 -0500)
commit88324a96bd151ee8330f2e48642f2cf8262b75c5
tree8569c16f58a2780b5780bf1e50a788d29625670b
parent6b5302a5d8d39313a18fb63030a39410f3d5603a
Btrfs: stop using vfs_read in send

Apparently we don't actually close the files until we return to userspace, so
stop using vfs_read in send.  This is actually better for us since we can avoid
all the extra logic of holding the file we're sending open and making sure to
clean it up.  This will fix people who have been hitting too many files open
errors when trying to send.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/send.c