mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 15:36:31 -05:00
Build improvements (#1501)
* Remove python dependency * Remove ecfd * Improve makefiles * Make preload.so more 32bit compatible
This commit is contained in:
parent
33fc26f81f
commit
b18aba86b6
51 changed files with 1047 additions and 1033 deletions
|
|
@ -34,13 +34,17 @@ ssize_t
|
|||
_listxattr_size(const std::vector<Branch*> &branches_,
|
||||
const char *fusepath_)
|
||||
{
|
||||
ssize_t rv;
|
||||
ssize_t size;
|
||||
std::string fullpath;
|
||||
|
||||
if(branches_.empty())
|
||||
return -ENOENT;
|
||||
|
||||
size = 0;
|
||||
for(const auto branch : branches_)
|
||||
{
|
||||
ssize_t rv;
|
||||
|
||||
fullpath = fs::path::make(branch->path,fusepath_);
|
||||
|
||||
rv = fs::llistxattr(fullpath,NULL,0);
|
||||
|
|
@ -50,7 +54,7 @@ _listxattr_size(const std::vector<Branch*> &branches_,
|
|||
size += rv;
|
||||
}
|
||||
|
||||
return rv;
|
||||
return size;
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue