]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commited2590953bd06b892f0411fc94e19175d32f197a
tree8569c16f58a2780b5780bf1e50a788d29625670b
parent301993a4a13b34c13f7f2a7ed3429d231a6d6166
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