ref: c50d8eeee3d160753559c456570859caf46261e1
parent: 5e9b16216e513f24883389ce48d25a72d3c48f0b
author: 9ferno <[email protected]>
date: Fri Nov 25 03:07:01 EST 2022
updated comments
--- a/9p.c
+++ b/9p.c
@@ -92,7 +92,7 @@
qunlock(&tlock);
}
- /* allocate on flush as many as possible */
+ /* allocate on remove */
dbuf = getmeta(((Aux*)fid->aux)->dblkno, Bwritable, Bused);
if(dbuf != nil){
if(dbuf->xiobuf != nil &&
@@ -102,6 +102,7 @@
else
putbuf(dbuf, 0);
}
+
freeaux(fid->aux);
}
--- a/TODO
+++ b/TODO
@@ -1,6 +1,7 @@
test exclusive use file access
test syncusers()
update() is not copy on write
+ this seems to be reasonable behaviour(?)
not updating Qid.version on writes or changes
fswstat TODO
streamline the error codes