diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-12 21:22:14 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 08:04:14 +0200 |
commit | cf8208d0eabd1d5d2625ec02a175a294c3f30d36 (patch) | |
tree | 7dd1f75873a2d84a3c626ecd45640d42c1b5dfcf /net/sunrpc/svc.c | |
parent | sendfile: convert nfs to using splice_read() (diff) | |
download | linux-cf8208d0eabd1d5d2625ec02a175a294c3f30d36.tar.xz linux-cf8208d0eabd1d5d2625ec02a175a294c3f30d36.zip |
sendfile: convert nfsd to splice_direct_to_actor()
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index e673ef993904..55ea6df069de 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -814,7 +814,7 @@ svc_process(struct svc_rqst *rqstp) rqstp->rq_res.tail[0].iov_base = NULL; rqstp->rq_res.tail[0].iov_len = 0; /* Will be turned off only in gss privacy case: */ - rqstp->rq_sendfile_ok = 1; + rqstp->rq_splice_ok = 1; /* tcp needs a space for the record length... */ if (rqstp->rq_prot == IPPROTO_TCP) svc_putnl(resv, 0); |