branches: add per branch minfreespace w/ original value as default

example: /mnt/disk0=RW,1G:/mnt/disk1=RW,2G
This commit is contained in:
Antonio SJ Musumeci 2020-08-20 18:47:04 -04:00
parent 98c49b8001
commit fc3453932a
68 changed files with 3005 additions and 813 deletions

View file

@ -70,14 +70,13 @@ namespace l
int
removexattr(Policy::Func::Action actionFunc_,
const Branches &branches_,
const uint64_t minfreespace_,
const char *fusepath_,
const char *attrname_)
{
int rv;
vector<string> basepaths;
rv = actionFunc_(branches_,fusepath_,minfreespace_,&basepaths);
rv = actionFunc_(branches_,fusepath_,&basepaths);
if(rv == -1)
return -errno;
@ -103,7 +102,6 @@ namespace FUSE
return l::removexattr(config.func.removexattr.policy,
config.branches,
config.minfreespace,
fusepath_,
attrname_);
}