mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 07:56:32 -05:00
Merge pull request #1025 from trapexit/estale
Change ENOENT to ESTALE for looking up paths to handle rename race conditions
This commit is contained in:
commit
4bf8738e5c
1 changed files with 1 additions and 1 deletions
|
|
@ -921,7 +921,7 @@ try_get_path(struct fuse *f,
|
|||
|
||||
for(node = get_node(f,nodeid); node->nodeid != FUSE_ROOT_ID; node = node->parent)
|
||||
{
|
||||
err = -ENOENT;
|
||||
err = -ESTALE;
|
||||
if(node->name == NULL || node->parent == NULL)
|
||||
goto out_unlock;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue