aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-09-17 14:52:23 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-17 14:53:10 -0400
commit45bd00d31de886f8425b4dd33204b911b0a466a9 (patch)
tree06204f2452e02ca916666173d50f5035d69065ef /fs/fuse
parent40d9d82c8ab8c4e2373a23a1e31dc8d84c53aa01 (diff)
parentab86e5765d41a5eb4239a1c04d613db87bea5ed8 (diff)
Merge branch 'linus' into tracing/core
Merge reason: Pick up kernel/softirq.c update for dependent fix. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index f91ccc4a189d..e5dbecd87b0f 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -801,6 +801,7 @@ static int fuse_bdi_init(struct fuse_conn *fc, struct super_block *sb)
801{ 801{
802 int err; 802 int err;
803 803
804 fc->bdi.name = "fuse";
804 fc->bdi.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE; 805 fc->bdi.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE;
805 fc->bdi.unplug_io_fn = default_unplug_io_fn; 806 fc->bdi.unplug_io_fn = default_unplug_io_fn;
806 /* fuse does it's own writeback accounting */ 807 /* fuse does it's own writeback accounting */
@@ -893,6 +894,8 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
893 if (err) 894 if (err)
894 goto err_put_conn; 895 goto err_put_conn;
895 896
897 sb->s_bdi = &fc->bdi;
898
896 /* Handle umasking inside the fuse code */ 899 /* Handle umasking inside the fuse code */
897 if (sb->s_flags & MS_POSIXACL) 900 if (sb->s_flags & MS_POSIXACL)
898 fc->dont_mask = 1; 901 fc->dont_mask = 1;