ramfs: allow changing mtime in wstats

This commit is contained in:
mischief 2014-09-15 15:49:39 -07:00
parent 222018340b
commit e5c47ca18e

View file

@ -352,6 +352,10 @@ fswstat(Req *r)
truncfile(f, r->d.length);
accessfile(f, AWRITE);
if(r->d.mtime != ~0){
f->mtime = r->d.mtime;
}
respond(r, nil);
return;