code: mafs

Download patch

ref: 285644aadb1b58735651a5068703372f8fc9adac
parent: 7038b412045ad003366804789e7fecaf0552f77c
author: 9ferno <gophone2015@gmail.com>
date: Sun Jan 15 02:42:27 EST 2023

fixes for minor warnings

--- a/ctl.c
+++ b/ctl.c
@@ -132,7 +132,7 @@
 						config.size / KiB
 						);
 	if(n >= nbuf)
-		panic("increase ctl message buffer: n %llud nbuf %llud\n", n, nbuf);
+		panic("increase ctl message buffer: n %llud nbuf %ud\n", n, nbuf);
 	return n;
 }
 
--- a/dentry.c
+++ b/dentry.c
@@ -452,7 +452,6 @@
 Iobuf *
 getdatablkat(Dentry *d, u64 reli)
 {
-	Iobuf *buf;
 	u64 blkno;
 
 	/* rel2abs() rlock's while reading.