diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-03 15:16:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-10 07:39:15 -0800 |
commit | e156b20f185b565edd36606caaf37b1ea5c935cc (patch) | |
tree | dcb41e7fef69b50847a8a7ba90beb6679168f131 /include | |
parent | c7148222fb952f4becbfc1e95705893c7a52c5ad (diff) | |
download | linux-stable-e156b20f185b565edd36606caaf37b1ea5c935cc.tar.gz linux-stable-e156b20f185b565edd36606caaf37b1ea5c935cc.tar.bz2 linux-stable-e156b20f185b565edd36606caaf37b1ea5c935cc.zip |
NFSv4: Cache the NFSv4/v4.1 client owner_id in the struct nfs_client
[ Upstream commit ceb3a16c070c403f5f9ca46b46cf2bb79ea11750 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-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 fd249ab2718f..4ac99c07406a 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. */ |