diff options
author | NeilBrown <neilb@suse.com> | 2016-10-13 00:26:47 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:58:13 -0500 |
commit | d51fdb87a611f8ef50518df7187173ae10469fd0 (patch) | |
tree | 5c7b1f573e024cdc906641ede0f7d035bed2c016 /include/linux/nfs_fs.h | |
parent | 8d42443166a5d3800756db98498a4961a5ea5de7 (diff) |
NFS: discard nfs_lockowner structure.
It now has only one field and is only used in one structure.
So replaced it in that structure by the field it contains.
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 0adb02c4744d..db1002abc95e 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -55,15 +55,11 @@ struct nfs_access_entry { | |||
55 | struct rcu_head rcu_head; | 55 | struct rcu_head rcu_head; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | struct nfs_lockowner { | ||
59 | fl_owner_t l_owner; | ||
60 | }; | ||
61 | |||
62 | struct nfs_lock_context { | 58 | struct nfs_lock_context { |
63 | atomic_t count; | 59 | atomic_t count; |
64 | struct list_head list; | 60 | struct list_head list; |
65 | struct nfs_open_context *open_context; | 61 | struct nfs_open_context *open_context; |
66 | struct nfs_lockowner lockowner; | 62 | fl_owner_t lockowner; |
67 | atomic_t io_count; | 63 | atomic_t io_count; |
68 | }; | 64 | }; |
69 | 65 | ||