aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-06-30 11:48:40 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-09 20:54:58 -0400
commitb3c32bcd9c4b8320aea504477573f0c460d2d57d (patch)
tree75b44467b4c9a5c8762cca9cedd8e5684109bb44 /fs/nfsd/netns.h
parentnfsd: Allow lockowners to hold several stateids (diff)
downloadlinux-dev-b3c32bcd9c4b8320aea504477573f0c460d2d57d.tar.xz
linux-dev-b3c32bcd9c4b8320aea504477573f0c460d2d57d.zip
nfsd: NFSv4 lock-owners are not associated to a specific file
Just like open-owners, lock-owners are associated with a name, a clientid and, in the case of minor version 0, a sequence id. There is no association to a file. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 113e1aa9b0e8..a71d14413d39 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -29,9 +29,6 @@
#define CLIENT_HASH_SIZE (1 << CLIENT_HASH_BITS)
#define CLIENT_HASH_MASK (CLIENT_HASH_SIZE - 1)
-#define LOCKOWNER_INO_HASH_BITS 8
-#define LOCKOWNER_INO_HASH_SIZE (1 << LOCKOWNER_INO_HASH_BITS)
-
#define SESSION_HASH_SIZE 512
struct cld_net;
@@ -67,7 +64,6 @@ struct nfsd_net {
struct list_head *unconf_id_hashtbl;
struct rb_root unconf_name_tree;
struct list_head *ownerstr_hashtbl;
- struct list_head *lockowner_ino_hashtbl;
struct list_head *sessionid_hashtbl;
/*
* client_lru holds client queue ordered by nfs4_client.cl_time