mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-01-21 12:55:29 +08:00
Merge pull request #89 from trapexit/openpath
add creation of full path for open
This commit is contained in:
commit
ac03e08d31
|
@ -57,6 +57,8 @@ _open(Policy::Func::Search searchFunc,
|
|||
if(rv == -1)
|
||||
return -errno;
|
||||
|
||||
fs::path::append(path[0],fusepath);
|
||||
|
||||
fd = ::open(path[0].c_str(),flags);
|
||||
if(fd == -1)
|
||||
return -errno;
|
||||
|
|
Loading…
Reference in New Issue
Block a user