diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 750708ccd708..bf24151d63be 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -30,6 +30,7 @@ | |||
30 | #ifdef __KERNEL__ | 30 | #ifdef __KERNEL__ |
31 | 31 | ||
32 | #include <linux/in.h> | 32 | #include <linux/in.h> |
33 | #include <linux/kref.h> | ||
33 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
34 | #include <linux/namei.h> | 35 | #include <linux/namei.h> |
35 | #include <linux/pagemap.h> | 36 | #include <linux/pagemap.h> |
@@ -70,7 +71,7 @@ struct nfs_access_entry { | |||
70 | 71 | ||
71 | struct nfs4_state; | 72 | struct nfs4_state; |
72 | struct nfs_open_context { | 73 | struct nfs_open_context { |
73 | atomic_t count; | 74 | struct kref kref; |
74 | struct path path; | 75 | struct path path; |
75 | struct rpc_cred *cred; | 76 | struct rpc_cred *cred; |
76 | struct nfs4_state *state; | 77 | struct nfs4_state *state; |