aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-13 21:54:52 -0400
committerMiklos Szeredi <mszeredi@suse.cz>2009-04-28 10:56:41 -0400
commita325f9b92273d6c64ec56167905b951b9827ec33 (patch)
tree05c80627acf609f12c8117c254c3e1feb2ec5689 /fs/fuse/fuse_i.h
parent797759aaf31351a1ab1b9130c4f180ce496f46c5 (diff)
fuse: update fuse_conn_init() and separate out fuse_conn_kill()
Update fuse_conn_init() such that it doesn't take @sb and move bdi registration into a separate function. Also separate out fuse_conn_kill() from fuse_put_super(). These will be used to implement 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, 4 insertions, 1 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index ef2e1f3780b5..2efcf12b763a 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -394,6 +394,9 @@ struct fuse_conn {
394 /** Filesystem supports NFS exporting. Only set in INIT */ 394 /** Filesystem supports NFS exporting. Only set in INIT */
395 unsigned export_support:1; 395 unsigned export_support:1;
396 396
397 /** Set if bdi is valid */
398 unsigned bdi_initialized:1;
399
397 /* 400 /*
398 * The following bitfields are only for optimization purposes 401 * The following bitfields are only for optimization purposes
399 * and hence races in setting them will not cause malfunction 402 * and hence races in setting them will not cause malfunction
@@ -662,7 +665,7 @@ struct fuse_conn *fuse_conn_get(struct fuse_conn *fc);
662/** 665/**
663 * Initialize fuse_conn 666 * Initialize fuse_conn
664 */ 667 */
665int fuse_conn_init(struct fuse_conn *fc, struct super_block *sb); 668void fuse_conn_init(struct fuse_conn *fc);
666 669
667/** 670/**
668 * Release reference to fuse_conn 671 * Release reference to fuse_conn