diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 18:56:35 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-04-28 18:56:35 +0400 |
commit | fd9db7297749c05fcf5721ce5393a5a8b8772f2a (patch) | |
tree | aeb596b24d68a9a12b29f7ac4fa4ba5222942158 /fs/fuse | |
parent | 091069740304c979f957ceacec39c461d0192158 (diff) | |
download | linux-fd9db7297749c05fcf5721ce5393a5a8b8772f2a.tar.xz |
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/fuse')
-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) err_put_root: dput(root_dentry); err_put_conn: + bdi_destroy(&fc->bdi); fuse_conn_put(fc); err_fput: fput(file); |