NFS: Add new 'mountaddr=' mount option
authorChuck Lever <chuck.lever@oracle.com>
Tue, 11 Sep 2007 22:01:04 +0000 (18:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:17:06 +0000 (17:17 -0400)
commit0ac83779fa5bffb90e32a97abc61f1840af31ee9
tree330ecddbeaaf2ba5980bf4377c6726682751fdc8
parentaad700073557c7932ef9f81c19a5e0647f8a6850
NFS: Add new 'mountaddr=' mount option

I got the 'mounthost=' option wrong - it shouldn't look for an address
value, but rather a hostname value.  However, the in-kernel mount client
and NFS client cannot resolve a hostname by themselves; they rely on
user-land to pass in the resolved address.

Create a new mount option that does take an address so that the mount
program's address can be passed in.  The mount hostname is now ignored
by the kernel.

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