ref: 449e753e691dd25706a8d46db41a84e27071320f
parent: 57543d1e2391be2c7e94e20091dbcb330e352dee
author: kvik <kvik@a-b.xyz>
date: Mon May 24 12:01:19 EDT 2021
Remove another unnecessary check
--- a/unionfs.c
+++ b/unionfs.c
@@ -268,11 +268,6 @@
Union *u;
np = mkpath(p->fspath, name, nil);
- if(strcmp(np, ".") == 0){
- free(np);
- filefree(p);
- return root;
- }
for(u = unionlist->next; u != unionlist; u = u->next){
path = mkpath(u->root, np, nil);
if((d = dirstat(path)) == nil){