aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authoryangyun <[email protected]>2024-09-14 08:51:31 +0000
committerMiklos Szeredi <[email protected]>2024-09-24 11:21:33 +0000
commit2f3d8ff457982f4055fe8f7bf19d3821ba22c376 (patch)
tree3b224336b3c4909ee40d0cdfec9d395ab8d36d37 /rust/helpers/mutex.c
parentfuse: clear FR_PENDING if abort is detected when sending request (diff)
downloadkernel-2f3d8ff457982f4055fe8f7bf19d3821ba22c376.tar.gz
kernel-2f3d8ff457982f4055fe8f7bf19d3821ba22c376.zip
fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set
This may be a typo. The comment has said shared locks are not allowed when this bit is set. If using shared lock, the wait in `fuse_file_cached_io_open` may be forever. Fixes: 205c1d802683 ("fuse: allow parallel dio writes with FUSE_DIRECT_IO_ALLOW_MMAP") CC: [email protected] # v6.9 Signed-off-by: yangyun <[email protected]> Reviewed-by: Bernd Schubert <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions