diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-13 21:54:53 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 10:56:42 -0400 |
commit | 08cbf542bf24fb0481a54526b177347ae4046f5e (patch) | |
tree | 75ac556b4fb464172f9e1f4deca7e2d3b7649802 /fs/fuse/inode.c | |
parent | a325f9b92273d6c64ec56167905b951b9827ec33 (diff) |
fuse: export symbols to be used by CUSE
Export the following symbols for CUSE.
fuse_conn_put()
fuse_conn_get()
fuse_conn_kill()
fuse_send_init()
fuse_do_open()
fuse_sync_release()
fuse_direct_io()
fuse_do_ioctl()
fuse_file_poll()
fuse_request_alloc()
fuse_get_req()
fuse_put_request()
fuse_request_send()
fuse_abort_conn()
fuse_dev_release()
fuse_dev_operations
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index fea7c1064d30..d8673ccf90b7 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -280,7 +280,7 @@ static void fuse_bdi_destroy(struct fuse_conn *fc) | |||
280 | bdi_destroy(&fc->bdi); | 280 | bdi_destroy(&fc->bdi); |
281 | } | 281 | } |
282 | 282 | ||
283 | static void fuse_conn_kill(struct fuse_conn *fc) | 283 | void fuse_conn_kill(struct fuse_conn *fc) |
284 | { | 284 | { |
285 | spin_lock(&fc->lock); | 285 | spin_lock(&fc->lock); |
286 | fc->connected = 0; | 286 | fc->connected = 0; |
@@ -297,6 +297,7 @@ static void fuse_conn_kill(struct fuse_conn *fc) | |||
297 | mutex_unlock(&fuse_mutex); | 297 | mutex_unlock(&fuse_mutex); |
298 | fuse_bdi_destroy(fc); | 298 | fuse_bdi_destroy(fc); |
299 | } | 299 | } |
300 | EXPORT_SYMBOL_GPL(fuse_conn_kill); | ||
300 | 301 | ||
301 | static void fuse_put_super(struct super_block *sb) | 302 | static void fuse_put_super(struct super_block *sb) |
302 | { | 303 | { |
@@ -508,12 +509,14 @@ void fuse_conn_put(struct fuse_conn *fc) | |||
508 | fc->release(fc); | 509 | fc->release(fc); |
509 | } | 510 | } |
510 | } | 511 | } |
512 | EXPORT_SYMBOL_GPL(fuse_conn_put); | ||
511 | 513 | ||
512 | struct fuse_conn *fuse_conn_get(struct fuse_conn *fc) | 514 | struct fuse_conn *fuse_conn_get(struct fuse_conn *fc) |
513 | { | 515 | { |
514 | atomic_inc(&fc->count); | 516 | atomic_inc(&fc->count); |
515 | return fc; | 517 | return fc; |
516 | } | 518 | } |
519 | EXPORT_SYMBOL_GPL(fuse_conn_get); | ||
517 | 520 | ||
518 | static struct inode *fuse_get_root_inode(struct super_block *sb, unsigned mode) | 521 | static struct inode *fuse_get_root_inode(struct super_block *sb, unsigned mode) |
519 | { | 522 | { |