mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
only allow manipulation of runtime settings via xattrs. closes #22
This commit is contained in:
parent
45cec2d301
commit
7b0d703f00
35 changed files with 50 additions and 419 deletions
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using mergerfs::Policy;
|
||||
using namespace mergerfs::config;
|
||||
|
||||
static
|
||||
|
|
@ -49,7 +48,6 @@ _getxattr_controlfile(const Config &config,
|
|||
char *buf,
|
||||
const size_t count)
|
||||
{
|
||||
#ifndef WITHOUT_XATTR
|
||||
size_t len;
|
||||
string attrvalue;
|
||||
|
||||
|
|
@ -74,9 +72,6 @@ _getxattr_controlfile(const Config &config,
|
|||
memcpy(buf,attrvalue.c_str(),len);
|
||||
|
||||
return (int)len;
|
||||
#else
|
||||
return -ENOTSUP;
|
||||
#endif
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue