shithub: gefs

Download patch

ref: 853d03830e55dceaf28e814755e48494a2ee4cd1
parent: 14dfdb4a65fb65e1972a73103ec0618ba89b44ad
author: Ori Bernstein <ori@eigenstate.org>
date: Sun May 14 02:27:04 EDT 2023

fs: add missing 'goto Out'

--- a/fs.c
+++ b/fs.c
@@ -1480,6 +1480,7 @@
 	de = f->dent;
 	if(walk1(f->mnt->root, f->qpath, m->name, &old, &oldlen) == 0){
 		rerror(m, Eexist);
+		goto Out;
 	}
 
 	rlock(de);