aboutsummaryrefslogtreecommitdiffstats
path: root/dev-docs
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 23:38:59 +0200
commit5105080b6bdc45a2a0ed9f2bccc9b511c572d1b6 (patch)
tree4c9193157316f23f2416055038d3ddf527edbb59 /dev-docs
parent53607e073d075ad1984f7015187d203a3ae83297 (diff)
downloadlibfuse-5105080b6bdc45a2a0ed9f2bccc9b511c572d1b6.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> (cherry picked from commit b96c738b10e9a308725c62b9392ba7d553eec254)
Diffstat (limited to 'dev-docs')
0 files changed, 0 insertions, 0 deletions