aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example/memfs_ll.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/example/memfs_ll.cc b/example/memfs_ll.cc
index 0da7c25..17d7d03 100644
--- a/example/memfs_ll.cc
+++ b/example/memfs_ll.cc
@@ -199,7 +199,6 @@ class Inode {
void truncate(off_t size)
{
- std::lock_guard<std::mutex> lock(mutex);
std::lock_guard<std::mutex> attr_lock(attr_mutex);
if (size < content.size()) {
content.resize(size);