summaryrefslogtreecommitdiffstats
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorChuck Lever2007-12-10 20:59:21 +0100
committerTrond Myklebust2008-01-30 08:05:56 +0100
commit9412b92772c1d80ea8284583b6aad0260e13515f (patch)
tree9c2032bd41d9c1e9ade36dab4ec8e4e208d96a4e /fs/pnode.h
parentNFS: Remove the NIPQUAD from nfs_try_mount (diff)
downloadkernel-qcow2-linux-9412b92772c1d80ea8284583b6aad0260e13515f.tar.gz
kernel-qcow2-linux-9412b92772c1d80ea8284583b6aad0260e13515f.tar.xz
kernel-qcow2-linux-9412b92772c1d80ea8284583b6aad0260e13515f.zip
NFS: Refactor mount option address parsing into separate function
Refactor the logic to parse incoming text-based IP addresses. Use the in4_pton() function instead of the older in_aton(), following the lead of the in-kernel CIFS client. Later we'll add IPv6 address parsing using the matching in6_pton() function. For now we can't allow IPv6 address parsing: we must expand the size of the address storage fields in the nfs_parsed_mount_options struct before we can parse and store 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>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions