summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-10-18 23:15:17 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 23:37:43 +0400
commit0f5f49b8b3593309fd3c3a2080a5fd465afdbe16 (patch)
treeab7fd81174f1399b1b0be00967134a1ab981e55b /include/linux/nfs_fs_sb.h
parenta3f73c27afff9590a4432879b7145289cb89cf0a (diff)
downloadlinux-0f5f49b8b3593309fd3c3a2080a5fd465afdbe16.tar.xz
NFS: cache parsed auth_info in nfs_server
Cache the auth_info structure in nfs_server and pass these values to submounts. This lays the groundwork for supporting multiple sec= options. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 186ec4969313..1150ea41b626 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -151,6 +151,7 @@ struct nfs_server {
unsigned long mount_time; /* when this fs was mounted */
struct super_block *super; /* VFS super block */
dev_t s_dev; /* superblock dev numbers */
+ struct nfs_auth_info auth_info; /* parsed auth flavors */
#ifdef CONFIG_NFS_FSCACHE
struct nfs_fscache_key *fscache_key; /* unique key for superblock */