mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-09 07:16:11 -04:00
main: remove superflous check
pnode cannot be NULL. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
33a3a7970e
commit
b947555f87
2
main.c
2
main.c
@ -1760,7 +1760,7 @@ do_lookup_file (struct ovl_data *lo, fuse_ino_t parent, const char *name)
|
|||||||
char whpath[PATH_MAX];
|
char whpath[PATH_MAX];
|
||||||
const char *wh_name;
|
const char *wh_name;
|
||||||
|
|
||||||
if (pnode && pnode->last_layer == it)
|
if (pnode->last_layer == it)
|
||||||
stop_lookup = true;
|
stop_lookup = true;
|
||||||
|
|
||||||
strconcat3 (path, PATH_MAX, pnode->path, "/", name);
|
strconcat3 (path, PATH_MAX, pnode->path, "/", name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user