aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-05-13 19:32:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-13 19:32:57 -0400
commita6aeeebf5179ea6346249d727bdb9124ce9e2d4c (patch)
tree7a6d53c980f2682ef0ddaa434cba468ba65aa15a /fs
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
Diffstat (limited to 'fs')
-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)
911 err_put_root: 911 err_put_root:
912 dput(root_dentry); 912 dput(root_dentry);
913 err_put_conn: 913 err_put_conn:
914 bdi_destroy(&fc->bdi);
914 fuse_conn_put(fc); 915 fuse_conn_put(fc);
915 err_fput: 916 err_fput:
916 fput(file); 917 fput(file);