aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-11-26 06:03:55 -0500
committerMiklos Szeredi <miklos@szeredi.hu>2008-11-26 06:03:55 -0500
commit0d179aa59285ceef529c125e181cbb79ff5245c2 (patch)
treec044a2df496b362eee7dec5b176a14b0937b0725 /fs/fuse/fuse_i.h
parentb93f858ab2a4bee779c360002f313ad6c3504cdc (diff)
fuse: separate out fuse_conn_init() from new_conn()
Separate out fuse_conn_init() from new_conn() and while at it initialize fuse_conn->entry during conn initialization. This will be used by CUSE. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index c08e7e890923..eb488d48b833 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -650,6 +650,11 @@ void fuse_invalidate_entry_cache(struct dentry *entry);
650struct fuse_conn *fuse_conn_get(struct fuse_conn *fc); 650struct fuse_conn *fuse_conn_get(struct fuse_conn *fc);
651 651
652/** 652/**
653 * Initialize fuse_conn
654 */
655int fuse_conn_init(struct fuse_conn *fc, struct super_block *sb);
656
657/**
653 * Release reference to fuse_conn 658 * Release reference to fuse_conn
654 */ 659 */
655void fuse_conn_put(struct fuse_conn *fc); 660void fuse_conn_put(struct fuse_conn *fc);