diff options
author | Long Li <leo.lilong@huawei.com> | 2025-07-16 09:54:07 +0800 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-07-16 12:24:52 +0200 |
commit | b96c738b10e9a308725c62b9392ba7d553eec254 (patch) | |
tree | 2a1df8fbd808806dd3f274b7ebec0e57ae6785e4 /example/notify_inval_entry.c | |
parent | d8253770ac2cf4b8769e8cf41eb3c629f30ee80f (diff) | |
download | libfuse-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/notify_inval_entry.c')
0 files changed, 0 insertions, 0 deletions