aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-10-10 15:07:40 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-10-11 12:15:01 -0400
commita084daf512bb66fa3c8e21c7027daea521179cd0 (patch)
treeae3432178013d3b474adac890dad3fb7262f9746 /fs/nfsd/xdr4.h
parent04f9e664b21c4440daf4d08f31db9b18517e4b8d (diff)
nfsd4: move name-length checks to xdr
Again, these checks are better in the xdr code. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index c9012149637c..4c8a7ec3f25d 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -317,8 +317,7 @@ struct nfsd4_setattr {
317 317
318struct nfsd4_setclientid { 318struct nfsd4_setclientid {
319 nfs4_verifier se_verf; /* request */ 319 nfs4_verifier se_verf; /* request */
320 u32 se_namelen; /* request */ 320 struct xdr_netobj se_name;
321 char * se_name; /* request */
322 u32 se_callback_prog; /* request */ 321 u32 se_callback_prog; /* request */
323 u32 se_callback_netid_len; /* request */ 322 u32 se_callback_netid_len; /* request */
324 char * se_callback_netid_val; /* request */ 323 char * se_callback_netid_val; /* request */