aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/9p/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index 18583bb89db6..6f4c4c88db84 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -1116,6 +1116,7 @@ struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
1116 fid = NULL; 1116 fid = NULL;
1117 goto error; 1117 goto error;
1118 } 1118 }
1119 fid->uid = n_uname;
1119 1120
1120 req = p9_client_rpc(clnt, P9_TATTACH, "ddss?u", fid->fid, 1121 req = p9_client_rpc(clnt, P9_TATTACH, "ddss?u", fid->fid,
1121 afid ? afid->fid : P9_NOFID, uname, aname, n_uname); 1122 afid ? afid->fid : P9_NOFID, uname, aname, n_uname);