diff options
author | Tejun Heo <tj@kernel.org> | 2008-11-26 06:03:55 -0500 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-11-26 06:03:55 -0500 |
commit | 0d179aa59285ceef529c125e181cbb79ff5245c2 (patch) | |
tree | c044a2df496b362eee7dec5b176a14b0937b0725 /fs/fuse/fuse_i.h | |
parent | b93f858ab2a4bee779c360002f313ad6c3504cdc (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.h | 5 |
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); | |||
650 | struct fuse_conn *fuse_conn_get(struct fuse_conn *fc); | 650 | struct fuse_conn *fuse_conn_get(struct fuse_conn *fc); |
651 | 651 | ||
652 | /** | 652 | /** |
653 | * Initialize fuse_conn | ||
654 | */ | ||
655 | int 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 | */ |
655 | void fuse_conn_put(struct fuse_conn *fc); | 660 | void fuse_conn_put(struct fuse_conn *fc); |