diff --git a/fs/splice.c b/fs/splice.c index 60aed8de21f8..67a5965c0793 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1647,7 +1647,7 @@ SYSCALL_DEFINE6(splice, int, fd_in, loff_t __user *, off_in, error = -EBADF; in = fdget(fd_in); if (in.file) { - out = fdget(fd_out); + out = fdget_raw(fd_out); if (out.file) { error = __do_splice(in.file, off_in, out.file, off_out, len, flags);