mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 15:36:31 -05:00
remove statfs policy
This commit is contained in:
parent
29ed2bca01
commit
16fe0cf90c
9 changed files with 38 additions and 138 deletions
|
|
@ -75,15 +75,6 @@ _setxattr_controlfile(config::Config &config,
|
|||
else
|
||||
return -ENOSPC;
|
||||
}
|
||||
else if(attrname == "user.mergerfs.statfs")
|
||||
{
|
||||
if((flags & XATTR_CREATE) == XATTR_CREATE)
|
||||
return -EEXIST;
|
||||
if(Policy::StatFS::fromString(attrval) != -1)
|
||||
config.policy.statfs = attrval;
|
||||
else
|
||||
return -ENOSPC;
|
||||
}
|
||||
else
|
||||
{
|
||||
return -ENOATTR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue