commit 99a435901454cc6ca529a783486c83ffddadb110 from: Omar Polo date: Tue Dec 14 22:40:06 2021 UTC fix walk fid check: look at fd not iomode to see if it was opened commit - 87a818e80dd7b59d2ee3f9b1cdffc82d7c5c1b4c commit + 99a435901454cc6ca529a783486c83ffddadb110 blob - 5519c0909c9c72e32d8fc7455e1aa62bc156dfe0 blob + d96512f4d3f0b986bb0893f1f08bd72d923556bd --- client.c +++ client.c @@ -905,7 +905,7 @@ twalk(struct np_msg_header *hdr, const uint8_t *data, return; } - if (f->iomode != 0) { + if (f->fd != -1) { np_error(hdr->tag, "fid already opened for I/O"); return; }