Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd9db729 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: destroy bdi on error



Destroy bdi on error in fuse_fill_super().

This was an omission from commit 26c36791
"fuse: destroy bdi on umount", which moved the bdi_destroy() call from
fuse_conn_put() to fuse_put_super().

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
parent 09106974
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);