diff options
author | yangyun <[email protected]> | 2024-09-14 16:51:31 +0800 |
---|---|---|
committer | Miklos Szeredi <[email protected]> | 2024-09-24 13:21:33 +0200 |
commit | 2f3d8ff457982f4055fe8f7bf19d3821ba22c376 (patch) | |
tree | 3b224336b3c4909ee40d0cdfec9d395ab8d36d37 /drivers/fpga/fpga-bridge.c | |
parent | fcd2d9e1fdcd7cada612f2e8737fb13a2bce7d0e (diff) |
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 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions