git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RPC: add wrapper for svc_reserve to account for checksum
[safe/jmp/linux-2.6]
/
fs
/
nfsd
/
nfsproc.c
diff --git
a/fs/nfsd/nfsproc.c
b/fs/nfsd/nfsproc.c
index
5cc2eec
..
b2c7147
100644
(file)
--- a/
fs/nfsd/nfsproc.c
+++ b/
fs/nfsd/nfsproc.c
@@
-155,7
+155,7
@@
nfsd_proc_read(struct svc_rqst *rqstp, struct nfsd_readargs *argp,
argp->count);
argp->count = NFSSVC_MAXBLKSIZE_V2;
}
- svc_reserve(rqstp, (19<<2) + argp->count + 4);
+ svc_reserve
_auth
(rqstp, (19<<2) + argp->count + 4);
resp->count = argp->count;
nfserr = nfsd_read(rqstp, fh_copy(&resp->fh, &argp->fh), NULL,