Auto-commit fuse_truncate.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 11:52:52 -05:00
parent 65e5f18ea9
commit 13355bcd3a

View file

@ -75,6 +75,8 @@ _truncate(const Policy::Action &actionFunc_,
rv = actionFunc_(branches_,fusepath_,branches);
if(rv < 0)
return rv;
if(branches.empty())
return -ENOENT;
::_truncate_loop(branches,fusepath_,size_,&prv);
if(prv.errors.empty())