]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
NFS: Increase size of cl_ipaddr field to hold IPv6 addresses
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:57:01 +0000 (14:57 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:51 +0000 (02:05 -0500)
The nfs_client's cl_ipaddr field needs to be larger to hold strings that
represent IPv6 addresses.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_fs_sb.h

index 97b3257566671a0e54b203db7c122f0c70e29fad..0b3dcba3d97d29da43ceb19384024a4d77affcad 100644 (file)
@@ -64,7 +64,7 @@ struct nfs_client {
        /* Our own IP address, as a null-terminated string.
         * This is used to generate the clientid, and the callback address.
         */
-       char                    cl_ipaddr[16];
+       char                    cl_ipaddr[48];
        unsigned char           cl_id_uniquifier;
 #endif
 };