shithub: gefs

Download patch

ref: a0e67fe7a4c9db6cfc59655a6a3611e90c344115
parent: d993335da1407bd2ee79aef2332f216c9742f44e
author: Michael Forney <mforney@mforney.org>
date: Tue Feb 1 16:16:45 EST 2022

fs: assert that we actually clunked a fid in clunkfid()

--- a/fs.c
+++ b/fs.c
@@ -486,6 +486,7 @@
 		}
 		pf = &f->next;
 	}
+	assert(f != nil);
 	unlock(&fs->fidtablk);
 }