shithub: riscv

Download patch

ref: 7ced300071e59a22a8afddee2a4bb242987ea214
parent: e96b16ee7fb33fd7dbb86d86a9e4156b5d07f4ec
author: cinap_lenrek <[email protected]>
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){