mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
fuse: destroy bdi on error
Destroy bdi on error in fuse_fill_super().
This was an omission from commit 26c3679101
"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
This commit is contained in:
parent
0910697403
commit
fd9db72977
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue