aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough.c
diff options
context:
space:
mode:
authorLong Li <leo.lilong@huawei.com>2025-07-16 09:54:07 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-07-16 12:24:52 +0200
commitb96c738b10e9a308725c62b9392ba7d553eec254 (patch)
tree2a1df8fbd808806dd3f274b7ebec0e57ae6785e4 /example/passthrough.c
parentd8253770ac2cf4b8769e8cf41eb3c629f30ee80f (diff)
downloadlibfuse-b96c738b10e9a308725c62b9392ba7d553eec254.tar.gz
memfs_ll: fix deadlock in truncate operation
Remove redundant mutex lock acquisition in the truncate() method to prevent deadlock. The issue occurs when memfs_setattr() already holds the mutex lock and then calls truncate(), which attempts to acquire the same lock again. Signed-off-by: Long Li <leo.lilong@huawei.com>
Diffstat (limited to 'example/passthrough.c')
0 files changed, 0 insertions, 0 deletions