[GIT PULL] fuse update for 5.15

From: Miklos Szeredi
Date: Tue Sep 07 2021 - 03:26:52 EST


Hi Linus,

Please pull from:

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

- Allow mounting an active fuse device. Previously the fuse device would
always be mounted during initialization, and sharing a fuse superblock
was only possible through mount or namespace cloning

- Fix data flushing in syncfs (virtiofs only)

- Fix data flushing in copy_file_range()

- Fix a possible deadlock in atomic O_TRUNC

- Misc fixes and cleanups

The recent commit dates for the two head commits are due to a trival bug
fix being folded in.

Thanks,
Miklos

---
Miklos Szeredi (9):
fuse: fix use after free in fuse_read_interrupt()
fuse: name fs_context consistently
fuse: move option checking into fuse_fill_super()
fuse: move fget() to fuse_get_tree()
fuse: allow sharing existing sb
fuse: truncate pagecache on atomic_o_trunc
fuse: flush extending writes
fuse: wait for writepages in syncfs
fuse: remove unused arg in fuse_write_file_get()

---
fs/fuse/control.c | 10 +--
fs/fuse/dev.c | 4 +-
fs/fuse/file.c | 45 ++++++++----
fs/fuse/fuse_i.h | 20 ++++++
fs/fuse/inode.c | 203 ++++++++++++++++++++++++++++++++++++++--------------
fs/fuse/virtio_fs.c | 12 ++--
6 files changed, 214 insertions(+), 80 deletions(-)