NFS: Use common device name parsing logic for NFSv4 and NFSv2/v3
authorChuck Lever <chuck.lever@oracle.com>
Mon, 23 Jun 2008 16:36:37 +0000 (12:36 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:26 +0000 (12:09 -0400)
commitdc04589827f7e1af12714af8bb00e3f3c4c48c62
treefb1436269bd041af0609ef4f748f1c58f91f974b
parentcd100725620a8063fbc81bcf16d7c9e71a9583e0
NFS: Use common device name parsing logic for NFSv4 and NFSv2/v3

To support passing a raw IPv6 address as a server hostname, we need to
expand the logic that handles splitting the passed-in device name into
a server hostname and export path

Start by pulling device name parsing out of the mount option validation
functions and into separate helper functions.

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