aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-06-17 16:02:44 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:27 -0400
commit3bec63db55463365110d00721ed60a31e4614cb6 (patch)
treead0fed8f7e83258c7fcf59ca8433f02232e05cac /include/linux
parentedc05fc1c24ba49dae585da1b2a22686f0b221f0 (diff)
downloadkernel_samsung_espresso10-3bec63db55463365110d00721ed60a31e4614cb6.zip
kernel_samsung_espresso10-3bec63db55463365110d00721ed60a31e4614cb6.tar.gz
kernel_samsung_espresso10-3bec63db55463365110d00721ed60a31e4614cb6.tar.bz2
NFS: Convert struct nfs_open_context to use a kref
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfs_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 750708c..bf24151 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -30,6 +30,7 @@
#ifdef __KERNEL__
#include <linux/in.h>
+#include <linux/kref.h>
#include <linux/mm.h>
#include <linux/namei.h>
#include <linux/pagemap.h>
@@ -70,7 +71,7 @@ struct nfs_access_entry {
struct nfs4_state;
struct nfs_open_context {
- atomic_t count;
+ struct kref kref;
struct path path;
struct rpc_cred *cred;
struct nfs4_state *state;