From: patch-log@cat-v.org
To: 9fans@cse.psu.edu
Subject: [9fans] [patch] applied: wikifs-dotdot
Date: Mon, 5 Sep 2005 09:28:06 +0200 [thread overview]
Message-ID: <0712f686120604037a1e06dfce8edabc@cat-v.org> (raw)
d-rwxrwxr-x M 67334 rsc sys 0 Sep 4 14:09 /n/sources/patch/applied/wikifs-dotdot
README:
Fix qid generation for root so you can dotdot
out of a page directory (e.g. /n/wiki/sandbox).
I think this is the same idea as Russ's recent
patch to devsd.c.
------------------------------
NOTES:
Sun Sep 4 08:09:29 EDT 2005 rsc
One wonders what 42 means!
------------------------------
DIFF:
/sys/src/cmd/wikifs/fs.c
fs.c.orig:109,115 - /n/sources/patch/applied/wikifs-dotdot/fs.c:109,115
r->fid->aux = a;
a->name = s_copy(r->ifcall.uname);
- r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 42), 0, QTDIR};
+ r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 0), 0, QTDIR};
r->fid->qid = r->ofcall.qid;
respond(r, nil);
}
reply other threads:[~2005-09-05 7:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0712f686120604037a1e06dfce8edabc@cat-v.org \
--to=patch-log@cat-v.org \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).