summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorTrond Myklebust2015-01-03 21:16:04 +0100
committerTrond Myklebust2015-01-06 04:40:53 +0100
commitceb3a16c070c403f5f9ca46b46cf2bb79ea11750 (patch)
tree541de2598fad3fa145a94e119f70ab44edc2bf80 /include/linux/nfs_fs_sb.h
parentNFSv4.1: Fix client id trunking on Linux (diff)
downloadkernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.tar.gz
kernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.tar.xz
kernel-qcow2-linux-ceb3a16c070c403f5f9ca46b46cf2bb79ea11750.zip
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.h3
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 {
/* idmapper */
struct idmap * cl_idmap;
+ /* Client owner identifier */
+ const char * cl_owner_id;
+
/* Our own IP address, as a null-terminated string.
* This is used to generate the mv0 callback address.
*/