summaryrefslogtreecommitdiffstats
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
parentf6cab83d77ed7f1fd9e354a166fa94fd57c5cee4 (diff)
parentfd9db7297749c05fcf5721ce5393a5a8b8772f2a (diff)
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
-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 d1bc4d33ccb..91f7c85f1ff 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);