shithub: gefs

Download patch

ref: b09b15506cf7f89d0e42eab020cd4832015b1152
parent: 7215f386d1b053944abcd7c1745d92a9c8521076
author: Michael Forney <[email protected]>
date: Sat Mar 12 17:49:08 EST 2022

cons: print confirmation when syncing finished

--- a/fs.c
+++ b/fs.c
@@ -1736,6 +1736,8 @@
 			for(mnt = fs->mounts; mnt != nil; mnt = mnt->next)
 				updatemount(mnt);
 			sync();
+			if(m->a->fd != -1)
+				fprint(m->a->fd, "sync done\n");
 			freemsg(m);
 			break;
 		case AOsnap: