aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-11-26 06:03:56 -0500
committerMiklos Szeredi <miklos@szeredi.hu>2008-11-26 06:03:56 -0500
commit43901aabd7a043e62e24e9459dc4949b4cd69f07 (patch)
treea3c111b3110852bd46a62b31bd510f08d6b20e88 /fs/fuse/fuse_i.h
parent0d179aa59285ceef529c125e181cbb79ff5245c2 (diff)
fuse: add fuse_conn->release()
Add fuse_conn->release() so that fuse_conn can be embedded in other structures. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index eb488d48b833..5e64b815a5a1 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -465,6 +465,9 @@ struct fuse_conn {
465 465
466 /** Version counter for attribute changes */ 466 /** Version counter for attribute changes */
467 u64 attr_version; 467 u64 attr_version;
468
469 /** Called on final put */
470 void (*release)(struct fuse_conn *);
468}; 471};
469 472
470static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb) 473static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb)