diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/vfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 0ef9b6b410a2..b31e46eeb026 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -936,6 +936,7 @@ nfsd_vfs_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, | |||
936 | .u.data = rqstp, | 936 | .u.data = rqstp, |
937 | }; | 937 | }; |
938 | 938 | ||
939 | WARN_ON_ONCE(rqstp->rq_resused != 1); | ||
939 | rqstp->rq_resused = 1; | 940 | rqstp->rq_resused = 1; |
940 | host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor); | 941 | host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor); |
941 | } else { | 942 | } else { |