ref: 9ae1d0349c423d5451bbed6de8627dee3aec44a7
parent: 2cb45ba7f64f83e48609b47218c8fb70cbaced5b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Jun 20 09:15:26 EDT 2019
cwfs: fix root access time qid path comparsion
--- a/sys/src/cmd/cwfs/9p2.c
+++ b/sys/src/cmd/cwfs/9p2.c
@@ -1471,7 +1471,7 @@
if(error = mkqidcmp(&file->qid, d))
goto out;
- if(d->qid.path == QPROOT) /* stat of root gives time */
+ if(d->qid.path == (QPROOT|QPDIR)) /* stat of root gives time */
d->atime = time(nil);
}
len = mkdir9p2(&dir, d, data);
--
⑨