shithub: riscv

Download patch

ref: e1f7e472cf7080a95bf6b405e6ccf801eb036c44
parent: 18046fd8153076782863f968db6fe1a1af0ddd2b
author: BurnZeZ <brz-9dev@feline.systems>
date: Sat Mar 19 13:58:35 EDT 2016

lib9p: remove duplicate variable assignment in createfile()

--- a/sys/src/lib9p/file.c
+++ b/sys/src/lib9p/file.c
@@ -235,7 +235,6 @@
 	if(perm & DMEXCL)
 		f->qid.type |= QTEXCL;
 
-	f->mode = perm;
 	f->atime = f->mtime = time(0);
 	f->length = 0;
 	f->parent = fp;