diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9p/srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c index 52d4bccf..7393b3c2 100644 --- a/src/lib9p/srv.c +++ b/src/lib9p/srv.c @@ -227,7 +227,7 @@ sattach(Srv *srv, Req *r) r->fid->uid = estrdup9p(r->ifcall.uname); if(srv->tree){ r->fid->file = srv->tree->root; - /* BUG? incref(r->fid->file) ??? */ + incref(&r->fid->file->ref); r->ofcall.qid = r->fid->file->dir.qid; r->fid->qid = r->ofcall.qid; } |