android_kernel_motorola_sm6375/fs/fuse
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sandeep Dhavale 4884b8ae4c
ANDROID: fuse: Open-code vma_set_file() logic in fuse_backing_mmap()
Manual manipulation of vma->vm_file and file reference counts in
fuse_backing_mmap() is error-prone.

Open-code the logic of vma_set_file() using swap() to safely
transfer the file reference and ensure proper reference counting
during VMA setup, as vma_set_file() is not available in this
kernel version.

Bug: 498749316
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
Cherrypick-From: https://android-review.googlesource.com/q/commit:5c3d7b8761264e2a2deb121020bb933273b240ba
Merged-In: I22ba0618f9fde6b698aeeeff2005830c4392969c
Change-Id: I22ba0618f9fde6b698aeeeff2005830c4392969c
[dhavale: as mentioned in updated commit message, this patch is adjusted
to account for lack of vma_set_file() helper ]
2026-05-08 21:46:20 +02:00
..
acl.c
backing.c ANDROID: fuse: Open-code vma_set_file() logic in fuse_backing_mmap() 2026-05-08 21:46:20 +02:00
control.c BACKPORT: fuse: name fs_context consistently 2026-05-08 21:46:20 +02:00
cuse.c BACKPORT: fuse: split fuse_mount off of fuse_conn 2026-05-08 21:46:13 +02:00
dax.c UPSTREAM: fuse: dax: set fc->dax to NULL in fuse_dax_conn_free() 2026-05-08 21:46:19 +02:00
dev.c BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
dir.c UPSTREAM: fuse: make sure reclaim doesn't write the inode 2026-05-08 21:46:20 +02:00
file.c BACKPORT: fuse: fix livelock in synchronous file put from fuseblk workers 2026-05-08 21:46:20 +02:00
fuse_i.h UPSTREAM: fuse: make sure reclaim doesn't write the inode 2026-05-08 21:46:20 +02:00
inode.c UPSTREAM: fuse: make sure reclaim doesn't write the inode 2026-05-08 21:46:20 +02:00
Kconfig BACKPORT: ANDROID: fuse-bpf v1 2026-05-08 21:46:14 +02:00
Makefile BACKPORT: ANDROID: fuse-bpf v1 2026-05-08 21:46:14 +02:00
OWNERS
passthrough.c UPSTREAM: ANDROID: fs/passthrough: Fix compatibility with R/O file system 2026-05-08 21:46:19 +02:00
readdir.c UPSTREAM: fuse: fix readdir cache race 2026-05-08 21:46:18 +02:00
virtio_fs.c BACKPORT: fuse: name fs_context consistently 2026-05-08 21:46:20 +02:00
xattr.c UPSTREAM: ANDROID: fuse: add bpf support for removexattr 2026-05-08 21:46:15 +02:00