]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/9p/client.c
rtc: rtc-twl4030 don't mask alarm interrupts on shutdown
[linux-2.6-omap-h63xx.git] / net / 9p / client.c
index 4b529454616d0427020e5b8b30620249e400c268..821f1ec0b2c38084444b7da0efb32f993f1e363c 100644 (file)
@@ -627,7 +627,7 @@ static struct p9_fid *p9_fid_create(struct p9_client *clnt)
        memset(&fid->qid, 0, sizeof(struct p9_qid));
        fid->mode = -1;
        fid->rdir_fpos = 0;
-       fid->uid = current->fsuid;
+       fid->uid = current_fsuid();
        fid->clnt = clnt;
        fid->aux = NULL;