diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2008-03-14 14:10:30 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-19 18:00:22 -0400 |
| commit | 3f8400d1f1f9d5fb175bdbf6236e564dde454f28 (patch) | |
| tree | c5a15b86b049c60367ee525a05a4bc76d0a3b825 /include/linux | |
| parent | f22d6d79fe227245363a8849ea8c85fe6c6598c3 (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_fs_sb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 670e5c7222d0..ac7e4fb943ea 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
| @@ -118,6 +118,13 @@ struct nfs_server { | |||
| 118 | 118 | ||
| 119 | atomic_t active; /* Keep trace of any activity to this server */ | 119 | atomic_t active; /* Keep trace of any activity to this server */ |
| 120 | wait_queue_head_t active_wq; /* Wait for any activity to stop */ | 120 | wait_queue_head_t active_wq; /* Wait for any activity to stop */ |
| 121 | |||
| 122 | /* mountd-related mount options */ | ||
| 123 | struct sockaddr_storage mountd_address; | ||
| 124 | size_t mountd_addrlen; | ||
| 125 | u32 mountd_version; | ||
| 126 | unsigned short mountd_port; | ||
| 127 | unsigned short mountd_protocol; | ||
| 121 | }; | 128 | }; |
| 122 | 129 | ||
| 123 | /* Server capabilities */ | 130 | /* Server capabilities */ |
