mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-13 09:17:42 -04:00
main: store negative lookups
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
1bed1d566b
commit
9e20d96bbf
5
main.c
5
main.c
@ -1649,7 +1649,10 @@ ovl_lookup (fuse_req_t req, fuse_ino_t parent, const char *name)
|
||||
node = do_lookup_file (lo, parent, name);
|
||||
if (node == NULL)
|
||||
{
|
||||
fuse_reply_err (req, errno);
|
||||
e.ino = 0;
|
||||
e.attr_timeout = get_timeout (lo);
|
||||
e.entry_timeout = get_timeout (lo);
|
||||
fuse_reply_entry (req, &e);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user