diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-10-10 15:07:40 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-10-11 12:15:01 -0400 |
commit | a084daf512bb66fa3c8e21c7027daea521179cd0 (patch) | |
tree | ae3432178013d3b474adac890dad3fb7262f9746 /fs/nfsd/xdr4.h | |
parent | 04f9e664b21c4440daf4d08f31db9b18517e4b8d (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index c9012149637..4c8a7ec3f25 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -317,8 +317,7 @@ struct nfsd4_setattr { struct nfsd4_setclientid { nfs4_verifier se_verf; /* request */ - u32 se_namelen; /* request */ - char * se_name; /* request */ + struct xdr_netobj se_name; u32 se_callback_prog; /* request */ u32 se_callback_netid_len; /* request */ char * se_callback_netid_val; /* request */ |