NFS: Clean-up: Define macros for maximum host and export path name lengths
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:

committed by
Trond Myklebust

parent
9eaa67c6a5
commit
5680d48be8
@@ -37,7 +37,7 @@ struct nfs_mount_data {
|
||||
int acdirmin; /* 1 */
|
||||
int acdirmax; /* 1 */
|
||||
struct sockaddr_in addr; /* 1 */
|
||||
char hostname[256]; /* 1 */
|
||||
char hostname[NFS_MAXNAMLEN + 1]; /* 1 */
|
||||
int namlen; /* 2 */
|
||||
unsigned int bsize; /* 3 */
|
||||
struct nfs3_fh root; /* 4 */
|
||||
|
Reference in New Issue
Block a user