diff options
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 8d91e1492f96..87d25b8f2dc1 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h | |||
@@ -30,6 +30,9 @@ struct fuse_inode { | |||
30 | * and kernel */ | 30 | * and kernel */ |
31 | u64 nodeid; | 31 | u64 nodeid; |
32 | 32 | ||
33 | /** Number of lookups on this inode */ | ||
34 | u64 nlookup; | ||
35 | |||
33 | /** The request used for sending the FORGET message */ | 36 | /** The request used for sending the FORGET message */ |
34 | struct fuse_req *forget_req; | 37 | struct fuse_req *forget_req; |
35 | 38 | ||
@@ -252,13 +255,13 @@ extern spinlock_t fuse_lock; | |||
252 | * Get a filled in inode | 255 | * Get a filled in inode |
253 | */ | 256 | */ |
254 | struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, | 257 | struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, |
255 | int generation, struct fuse_attr *attr, int version); | 258 | int generation, struct fuse_attr *attr); |
256 | 259 | ||
257 | /** | 260 | /** |
258 | * Send FORGET command | 261 | * Send FORGET command |
259 | */ | 262 | */ |
260 | void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req, | 263 | void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req, |
261 | unsigned long nodeid, int version); | 264 | unsigned long nodeid, u64 nlookup); |
262 | 265 | ||
263 | /** | 266 | /** |
264 | * Initialise inode operations on regular files and special files | 267 | * Initialise inode operations on regular files and special files |