FUSEX: fix datamap entry leak whenever a file is truncated by name and not via file descriptor

parent 8c0b7bd1
......@@ -2366,7 +2366,9 @@ EosFuse::setattr(fuse_req_t req, fuse_ino_t ino, struct stat* attr, int op,
} else {
Instance().datas.release(req, md->id());
if (!rc) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment