aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authoryangyun <yangyun50@huawei.com>2024-09-14 16:51:31 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2024-09-24 13:21:33 +0200
commit2f3d8ff457982f4055fe8f7bf19d3821ba22c376 (patch)
tree3b224336b3c4909ee40d0cdfec9d395ab8d36d37 /rust/kernel
parentfcd2d9e1fdcd7cada612f2e8737fb13a2bce7d0e (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: stable@vger.kernel.org # v6.9 Signed-off-by: yangyun <yangyun50@huawei.com> Reviewed-by: Bernd Schubert <bschubert@ddn.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions