[PATCH 0/4] fuse: Some fixes for submounts
From: Greg Kurz
Date: Tue May 25 2021 - 11:02:51 EST
While working on adding syncfs() support in FUSE, I've hit some severe
bugs with submounts (a crash and an infinite loop). The fix for the
crash is straightforward (patch 1), but the fix for the infinite loop
is more invasive : as suggested by Miklos, a simple bug fix is applied
first (patch 2) and the final fix (patch 3) is applied on top.
Greg Kurz (4):
fuse: Fix crash in fuse_dentry_automount() error path
fuse: Fix infinite loop in sget_fc()
fuse: Call vfs_get_tree() for submounts
fuse: Make fuse_fill_super_submount() static
fs/fuse/dir.c | 46 ++++++++++---------------------------------
fs/fuse/fuse_i.h | 9 +++------
fs/fuse/inode.c | 48 +++++++++++++++++++++++++++++++++++++++++++--
fs/fuse/virtio_fs.c | 3 +++
4 files changed, 62 insertions(+), 44 deletions(-)
--
2.31.1