diff options
Diffstat (limited to 'src/lib9pclient')
-rw-r--r-- | src/lib9pclient/fs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib9pclient/fs.c b/src/lib9pclient/fs.c index eda023bc..e51876c3 100644 --- a/src/lib9pclient/fs.c +++ b/src/lib9pclient/fs.c @@ -259,6 +259,11 @@ _fsgetfid(CFsys *fs) fs->freefid = f->next; fs->ref++; qunlock(&fs->lk); + f->offset = 0; + f->mode = -1; + f->qid.path = 0; + f->qid.vers = 0; + f->qid.type = 0; return f; } |