mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
move Path object to separate file
This commit is contained in:
+2
-2
@@ -47,14 +47,14 @@ _unlink(const fs::find::Func actionFunc,
|
||||
{
|
||||
int rv;
|
||||
int error;
|
||||
fs::Paths paths;
|
||||
Paths paths;
|
||||
|
||||
rv = actionFunc(srcmounts,fusepath,minfreespace,paths);
|
||||
if(rv == -1)
|
||||
return -errno;
|
||||
|
||||
error = 0;
|
||||
for(fs::Paths::const_iterator
|
||||
for(Paths::const_iterator
|
||||
i = paths.begin(), ei = paths.end(); i != ei; ++i)
|
||||
{
|
||||
rv = ::unlink(i->full.c_str());
|
||||
|
||||
Reference in New Issue
Block a user