diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 10:56:35 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 10:56:35 -0400 |
commit | fd9db7297749c05fcf5721ce5393a5a8b8772f2a (patch) | |
tree | aeb596b24d68a9a12b29f7ac4fa4ba5222942158 /fs | |
parent | 091069740304c979f957ceacec39c461d0192158 (diff) |
fuse: destroy bdi on error
Destroy bdi on error in fuse_fill_super().
This was an omission from commit 26c3679101dbccc054dcf370143941844ba70531
"fuse: destroy bdi on umount", which moved the bdi_destroy() call from
fuse_conn_put() to fuse_put_super().
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 459b73dd45e1..75ca5ac603ae 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -908,6 +908,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent) | |||
908 | err_put_root: | 908 | err_put_root: |
909 | dput(root_dentry); | 909 | dput(root_dentry); |
910 | err_put_conn: | 910 | err_put_conn: |
911 | bdi_destroy(&fc->bdi); | ||
911 | fuse_conn_put(fc); | 912 | fuse_conn_put(fc); |
912 | err_fput: | 913 | err_fput: |
913 | fput(file); | 914 | fput(file); |