mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_link.cpp
This commit is contained in:
parent
0aeecc7d46
commit
a63a5d1a12
1 changed files with 2 additions and 0 deletions
|
|
@ -251,6 +251,8 @@ _link_exdev_abs_base_symlink(const fuse_req_ctx_t *ctx_,
|
|||
rv = openPolicy_(ibranches_,oldpath_,obranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(obranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
target = obranches[0]->path / oldpath_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue