tfix dotdot? (dave swasey) - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c59c3b211297749916778f375d0cd8370d37e251 | |
parent 703d3cbc4ca77be7933a12863bb42789a3a45ea1 | |
Author: rsc | |
Date: Mon, 4 Jun 2007 03:30:17 +0000 fix dotdot? (dave swasey) Diffstat: M src/cmd/vbackup/vnfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- | |
diff --git a/src/cmd/vbackup/vnfs.c b/src/cmd/vbackup/vnfs.c | |
t@@ -1181,7 +1181,8 @@ fslookup(SunAuthUnix *au, Nfs3Handle *h, char *name, Nfs3Handle *nh) n = n->parent; } fid.fsys = n->fsys; - fid.fsyshandle = n->fsyshandle; + if(!n->isblackhole) + fid.fsyshandle = n->fsyshandle; fid.cnode = n; } fidtohandle(&fid, nh); |