|
@@ -929,15 +929,15 @@ error:
|
|
|
}
|
|
|
EXPORT_SYMBOL(p9_client_attach);
|
|
|
|
|
|
-struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames,
|
|
|
- int clone)
|
|
|
+struct p9_fid *p9_client_walk(struct p9_fid *oldfid, uint16_t nwname,
|
|
|
+ char **wnames, int clone)
|
|
|
{
|
|
|
int err;
|
|
|
struct p9_client *clnt;
|
|
|
struct p9_fid *fid;
|
|
|
struct p9_qid *wqids;
|
|
|
struct p9_req_t *req;
|
|
|
- int16_t nwqids, count;
|
|
|
+ uint16_t nwqids, count;
|
|
|
|
|
|
err = 0;
|
|
|
wqids = NULL;
|
|
@@ -955,7 +955,7 @@ struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames,
|
|
|
fid = oldfid;
|
|
|
|
|
|
|
|
|
- P9_DPRINTK(P9_DEBUG_9P, ">>> TWALK fids %d,%d nwname %d wname[0] %s\n",
|
|
|
+ P9_DPRINTK(P9_DEBUG_9P, ">>> TWALK fids %d,%d nwname %ud wname[0] %s\n",
|
|
|
oldfid->fid, fid->fid, nwname, wnames ? wnames[0] : NULL);
|
|
|
|
|
|
req = p9_client_rpc(clnt, P9_TWALK, "ddT", oldfid->fid, fid->fid,
|