diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-03 15:16:04 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-05 22:40:53 -0500 |
commit | ceb3a16c070c403f5f9ca46b46cf2bb79ea11750 (patch) | |
tree | 541de2598fad3fa145a94e119f70ab44edc2bf80 /include/linux/nfs_fs_sb.h | |
parent | 1fc0703af3143914a389bfa081c7acb09502ed5d (diff) |
NFSv4: Cache the NFSv4/v4.1 client owner_id in the struct nfs_client
Ensure that we cache the NFSv4/v4.1 client owner_id so that we can
verify it when we're doing trunking detection.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r-- | include/linux/nfs_fs_sb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 1e37fbb78f7a..ddea982355f3 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -74,6 +74,9 @@ struct nfs_client { | |||
74 | /* idmapper */ | 74 | /* idmapper */ |
75 | struct idmap * cl_idmap; | 75 | struct idmap * cl_idmap; |
76 | 76 | ||
77 | /* Client owner identifier */ | ||
78 | const char * cl_owner_id; | ||
79 | |||
77 | /* Our own IP address, as a null-terminated string. | 80 | /* Our own IP address, as a null-terminated string. |
78 | * This is used to generate the mv0 callback address. | 81 | * This is used to generate the mv0 callback address. |
79 | */ | 82 | */ |