NFS: Add string length argument to nfs_parse_server_address
authorChuck Lever <chuck.lever@oracle.com>
Mon, 23 Jun 2008 16:36:53 +0000 (12:36 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:28 +0000 (12:09 -0400)
commitce3b7e1906ebbe96753fe090b36de6ffb8e0e0e7
tree7518683c3a5818a0d48d377fa5dd4a37faddaec7
parentd1aa08257312f1439c1ab7c8a18e3856f9530f46
NFS: Add string length argument to nfs_parse_server_address

To make nfs_parse_server_address() more generally useful, allow it to
accept input strings that are not terminated with '\0'.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c
include/linux/inet.h