aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-05-08 19:47:22 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-05-08 19:47:22 +0000
commit3800902d3a379366d5bbe51c73b24fdd5a0e5b78 (patch)
tree3e3186ac3166ff64427b71b9fcb682980b1880c1 /kernel/fuse_i.h
parent3b206c79bf0d58475a5b898bfb8d27d052a1ac29 (diff)
downloadlibfuse-3800902d3a379366d5bbe51c73b24fdd5a0e5b78.tar.gz
fix
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index 25724b4..6ba851e 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -110,6 +110,9 @@ struct fuse_inode {
* and kernel */
u64 nodeid;
+ /** Number of lookups on this inode */
+ u64 nlookup;
+
/** The request used for sending the FORGET message */
struct fuse_req *forget_req;
@@ -390,13 +393,13 @@ extern spinlock_t fuse_lock;
* Get a filled in inode
*/
struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid,
- int generation, struct fuse_attr *attr, int version);
+ int generation, struct fuse_attr *attr);
/**
* Send FORGET command
*/
void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req,
- unsigned long nodeid, int version);
+ unsigned long nodeid, u64 nlookup);
/**
* Send READ or READDIR request