diff options
author | Weston Andros Adamson <dros@netapp.com> | 2011-06-01 16:44:44 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-12 13:40:27 -0400 |
commit | 6382a44138e7aa40bf52170e7afc014443a24806 (patch) | |
tree | 9126d01d1fe2442fea057c3f45e4e3e532c85424 /include | |
parent | 35dbbc99e93e57680837c17f96efe370f0535064 (diff) |
NFS: move pnfs layouts to nfs_server structure
Layouts should be tracked per nfs_server (aka superblock)
instead of per struct nfs_client, which may have multiple FSIDs associated
with it.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index f23b18831559..4faeac8f448a 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -78,7 +78,6 @@ struct nfs_client { | |||
78 | /* The flags used for obtaining the clientid during EXCHANGE_ID */ | 78 | /* The flags used for obtaining the clientid during EXCHANGE_ID */ |
79 | u32 cl_exchange_flags; | 79 | u32 cl_exchange_flags; |
80 | struct nfs4_session *cl_session; /* sharred session */ | 80 | struct nfs4_session *cl_session; /* sharred session */ |
81 | struct list_head cl_layouts; | ||
82 | #endif /* CONFIG_NFS_V4 */ | 81 | #endif /* CONFIG_NFS_V4 */ |
83 | 82 | ||
84 | #ifdef CONFIG_NFS_FSCACHE | 83 | #ifdef CONFIG_NFS_FSCACHE |
@@ -152,6 +151,7 @@ struct nfs_server { | |||
152 | struct rb_root openowner_id; | 151 | struct rb_root openowner_id; |
153 | struct rb_root lockowner_id; | 152 | struct rb_root lockowner_id; |
154 | #endif | 153 | #endif |
154 | struct list_head layouts; | ||
155 | struct list_head delegations; | 155 | struct list_head delegations; |
156 | void (*destroy)(struct nfs_server *); | 156 | void (*destroy)(struct nfs_server *); |
157 | 157 | ||