ref: a6e9ab0ced8523fb8099afa4547dc27793e27462
parent: a277b6aefd2a39bb7a2582ea0c6784e35c9c0a73
author: 9ferno <[email protected]>
date: Sat Dec 31 07:39:57 EST 2022
increase version on write
--- a/9p.c
+++ b/9p.c
@@ -1767,6 +1767,8 @@
writeend:
d->mtime = nsec();
+ if(dowrite)
+ d->version++;
putbuf(dbuf, dowrite);
if(oldbuf){
freeblockbuf(oldbuf);