Browse Source

Merge pull request #1025 from trapexit/estale

Change ENOENT to ESTALE for looking up paths to handle rename race conditions
pull/1026/head
trapexit 2 years ago
committed by GitHub
parent
commit
4bf8738e5c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libfuse/lib/fuse.c

2
libfuse/lib/fuse.c

@ -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…
Cancel
Save