summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-05-14 01:32:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-14 01:32:57 +0200
commita6aeeebf5179ea6346249d727bdb9124ce9e2d4c (patch)
tree7a6d53c980f2682ef0ddaa434cba468ba65aa15a /fs/fuse
parentMerge branch 'kvm-updates/2.6.30' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff)
parentfuse: destroy bdi on error (diff)
downloadlinux-a6aeeebf5179ea6346249d727bdb9124ce9e2d4c.tar.xz
linux-a6aeeebf5179ea6346249d727bdb9124ce9e2d4c.zip
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);