userfaultfd: disable irqs when taking the waitqueue lock
[linux-2.6-block.git] / fs / ioctl.c
index 3212c29235ce34d21dedc26ea569978d45462706..2005529af560891043170b4d86ed05c2a62f19eb 100644 (file)
@@ -230,7 +230,7 @@ static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd,
        ret = -EXDEV;
        if (src_file.file->f_path.mnt != dst_file->f_path.mnt)
                goto fdput;
-       ret = do_clone_file_range(src_file.file, off, dst_file, destoff, olen);
+       ret = vfs_clone_file_range(src_file.file, off, dst_file, destoff, olen);
 fdput:
        fdput(src_file);
        return ret;