[GIT PULL] fuse fixes for 5.15-rc7

From: Miklos Szeredi
Date: Fri Oct 22 2021 - 11:17:15 EST


Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-fixes-5.15-rc7

Syzbot discovered a race in case of reusing the fuse sb (introduced in this
cycle). Fix by doing the s_fs_info initialization at the proper place.

Thanks,
Miklos

----------------------------------------------------------------
Miklos Szeredi (5):
fuse: check s_root when destroying sb
fuse: get rid of fuse_put_super()
fuse: clean up fuse_mount destruction
fuse: always initialize sb->s_fs_info
fuse: clean up error exits in fuse_fill_super()

---
fs/fuse/fuse_i.h | 3 ++
fs/fuse/inode.c | 87 ++++++++++++++++++++++++-----------------------------
fs/fuse/virtio_fs.c | 12 +++-----
3 files changed, 46 insertions(+), 56 deletions(-)