diff options
author | Tejun Heo <tj@kernel.org> | 2008-11-26 12:03:55 +0100 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-11-26 12:03:55 +0100 |
commit | 0d179aa59285ceef529c125e181cbb79ff5245c2 (patch) | |
tree | c044a2df496b362eee7dec5b176a14b0937b0725 /fs/fuse/fuse_i.h | |
parent | b93f858ab2a4bee779c360002f313ad6c3504cdc (diff) | |
download | blackbird-op-linux-0d179aa59285ceef529c125e181cbb79ff5245c2.tar.gz blackbird-op-linux-0d179aa59285ceef529c125e181cbb79ff5245c2.zip |
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); struct fuse_conn *fuse_conn_get(struct fuse_conn *fc); /** + * Initialize fuse_conn + */ +int fuse_conn_init(struct fuse_conn *fc, struct super_block *sb); + +/** * Release reference to fuse_conn */ void fuse_conn_put(struct fuse_conn *fc); |