NFS: Save the values of the "mount*=" mount options
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 Mar 2008 18:10:30 +0000 (14:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Mar 2008 22:00:22 +0000 (18:00 -0400)
commit3f8400d1f1f9d5fb175bdbf6236e564dde454f28
treec5a15b86b049c60367ee525a05a4bc76d0a3b825
parentf22d6d79fe227245363a8849ea8c85fe6c6598c3
NFS: Save the values of the "mount*=" mount options

Save the value of the mountproto= mountport= mountvers= and mountaddr=
options so that these values can be displayed later via
nfs_show_options().

This preserves the intent of the original mount options, should the file
system need to be remounted based on what's displayed in /proc/mounts.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
include/linux/nfs_fs_sb.h