diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 9cabbb3a9e6d..f6e95bfad5de 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -672,16 +672,16 @@ struct nfs4_rename_res { | |||
672 | struct nfs_fattr * new_fattr; | 672 | struct nfs_fattr * new_fattr; |
673 | }; | 673 | }; |
674 | 674 | ||
675 | #define NFS4_SETCLIENTID_NAMELEN (56) | 675 | #define NFS4_SETCLIENTID_NAMELEN (128) |
676 | struct nfs4_setclientid { | 676 | struct nfs4_setclientid { |
677 | const nfs4_verifier * sc_verifier; | 677 | const nfs4_verifier * sc_verifier; |
678 | unsigned int sc_name_len; | 678 | unsigned int sc_name_len; |
679 | char sc_name[NFS4_SETCLIENTID_NAMELEN]; | 679 | char sc_name[NFS4_SETCLIENTID_NAMELEN + 1]; |
680 | u32 sc_prog; | 680 | u32 sc_prog; |
681 | unsigned int sc_netid_len; | 681 | unsigned int sc_netid_len; |
682 | char sc_netid[RPCBIND_MAXNETIDLEN]; | 682 | char sc_netid[RPCBIND_MAXNETIDLEN + 1]; |
683 | unsigned int sc_uaddr_len; | 683 | unsigned int sc_uaddr_len; |
684 | char sc_uaddr[RPCBIND_MAXUADDRLEN]; | 684 | char sc_uaddr[RPCBIND_MAXUADDRLEN + 1]; |
685 | u32 sc_cb_ident; | 685 | u32 sc_cb_ident; |
686 | }; | 686 | }; |
687 | 687 | ||