aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/9p/client.c')
-rw-r--r--net/9p/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index 67717f69412e..c3fb6f8bfa92 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -628,7 +628,7 @@ static struct p9_fid *p9_fid_create(struct p9_client *clnt)
628 memset(&fid->qid, 0, sizeof(struct p9_qid)); 628 memset(&fid->qid, 0, sizeof(struct p9_qid));
629 fid->mode = -1; 629 fid->mode = -1;
630 fid->rdir_fpos = 0; 630 fid->rdir_fpos = 0;
631 fid->uid = current->fsuid; 631 fid->uid = current_fsuid();
632 fid->clnt = clnt; 632 fid->clnt = clnt;
633 fid->aux = NULL; 633 fid->aux = NULL;
634 634