shithub: riscv

Download patch

ref: 6adf8466a2102e478e4deae29992f6863df4698d
parent: 941912f5ff6be7591e7645358339ef136e4a6a3d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jan 1 18:18:07 EST 2015

hjfs: fix missing superblock dirty mark when reaming

--- a/sys/src/cmd/hjfs/fs1.c
+++ b/sys/src/cmd/hjfs/fs1.c
@@ -176,6 +176,7 @@
 		goto error;
 	fs->root = r;
 	c->sb.root = r;
+	c->op |= BDELWRI;
 	putbuf(c);
 }