ref: e330f1506aaea5dd5b478b7f1466712cb46b2af0
parent: 224a00e04a5a2fdbe2226944c4bdd94b669ee06a
author: Michael Forney <[email protected]>
date: Mon Oct 31 00:29:17 EDT 2022
fs: add missing error response for Qdump walk
--- a/fs.c
+++ b/fs.c
@@ -984,10 +984,12 @@
name = m->wname[i];
if(d.qid.path == Qdump){
if((mnt = getmount(m->wname[i])) == nil){
+ rerror(m, Eexist);
putfid(o);
return;
}
if((p = packdkey(kbuf, sizeof(kbuf), -1ULL, "")) == nil){
+ rerror(m, Elength);
clunkmount(mnt);
putfid(o);
return;