diff options
author | rsc <devnull@localhost> | 2007-06-04 03:30:17 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-06-04 03:30:17 +0000 |
commit | c59c3b211297749916778f375d0cd8370d37e251 (patch) | |
tree | 17f77c460c387bba5620c66742422affc800dc10 /src/cmd/vbackup | |
parent | 703d3cbc4ca77be7933a12863bb42789a3a45ea1 (diff) | |
download | plan9port-c59c3b211297749916778f375d0cd8370d37e251.tar.gz plan9port-c59c3b211297749916778f375d0cd8370d37e251.tar.bz2 plan9port-c59c3b211297749916778f375d0cd8370d37e251.zip |
fix dotdot? (dave swasey)
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r-- | src/cmd/vbackup/vnfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/vbackup/vnfs.c b/src/cmd/vbackup/vnfs.c index 2776fd69..25bb7443 100644 --- a/src/cmd/vbackup/vnfs.c +++ b/src/cmd/vbackup/vnfs.c @@ -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); |