vfs: call vfs_clone_file_range() under freeze protection
authorAmir Goldstein <amir73il@gmail.com>
Fri, 23 Sep 2016 08:38:11 +0000 (11:38 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:54 +0000 (11:02 +0100)
commit031a072a0b8ac2646def77aa310a95016c884bb0
tree26e34c8c636fe13aa0d4e14cf16226333f6f43dd
parent913b86e92e1f68ab9db00ccb0fecf594732511e5
vfs: call vfs_clone_file_range() under freeze protection

Move sb_start_write()/sb_end_write() out of the vfs helper and up into the
ioctl handler.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/ioctl.c
fs/nfsd/vfs.c
fs/read_write.c
include/linux/fs.h