git: 9front

Download patch

ref: 6195f423636d713923ecd02fd2067e2bf85855ad
parent: a081d2715d94852897c60fbba7370077420e7522
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu Nov 15 04:22:13 EST 2012

hjfs: fix missing BDELWRI mark in newentry()

--- a/sys/src/cmd/hjfs/fs1.c
+++ b/sys/src/cmd/hjfs/fs1.c
@@ -906,6 +906,7 @@
 				d->size++;
 				b->op |= BDELWRI;
 			}
+			c->op |= BDELWRI;
 		}
 		for(j = 0; j < DEPERBLK; j++){
 			if(si == -1 && (c->de[j].mode & DALLOC) == 0){
--