shithub: unionfs

Download patch

ref: 0e34af76cf4a1a32acaa615289c7d047318b510a
parent: 53c5bcc460fdce3442789e5c55d316b3720cf691
author: kvik <kvik@a-b.xyz>
date: Wed Jun 2 07:49:43 EDT 2021

Remove realpath instead of path

--- a/unionfs.c
+++ b/unionfs.c
@@ -224,7 +224,7 @@
 	
 	f = r->fid->aux;
 	srvrelease(&thefs);
-	if(remove(s_to_c(f->path)) < 0){
+	if(remove(s_to_c(f->realpath)) < 0){
 		responderror(r);
 		goto done;
 	}