summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-05-13 16:32:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-13 16:32:57 -0700
commita6aeeebf5179ea6346249d727bdb9124ce9e2d4c (patch)
tree7a6d53c980f2682ef0ddaa434cba468ba65aa15a /fs/fuse
parentf6cab83d77ed7f1fd9e354a166fa94fd57c5cee4 (diff)
parentfd9db7297749c05fcf5721ce5393a5a8b8772f2a (diff)
downloadlinux-a6aeeebf5179ea6346249d727bdb9124ce9e2d4c.tar.bz2
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: fuse: destroy bdi on error
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index d1bc4d33ccbc..91f7c85f1ffd 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -911,6 +911,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
err_put_root:
dput(root_dentry);
err_put_conn:
+ bdi_destroy(&fc->bdi);
fuse_conn_put(fc);
err_fput:
fput(file);