summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:19:13 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 20:19:13 +0000
commit1e18ce425e46cb585bca6288927a6ae73d8ab353 (patch)
tree95cd95e092f3d33bf310d03107248b2ed5f13fbd /sys
parent1e93e04fa90dc907d238ff72aee2eceed070f5f0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/cd9660/cd9660_lookup.c2
-rw-r--r--sys/isofs/cd9660/cd9660_lookup.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c
index 5c7805e64ab8..657a052a0784 100644
--- a/sys/fs/cd9660/cd9660_lookup.c
+++ b/sys/fs/cd9660/cd9660_lookup.c
@@ -106,7 +106,6 @@ cd9660_lookup(ap)
struct vnode *tdp; /* returned by cd9660_vget_internal */
u_long bmask; /* block offset mask */
int lockparent; /* 1 => lockparent flag is set */
- int wantparent; /* 1 => wantparent or lockparent flag */
int error;
ino_t ino = 0;
int reclen;
@@ -128,7 +127,6 @@ cd9660_lookup(ap)
dp = VTOI(vdp);
imp = dp->i_mnt;
lockparent = flags & LOCKPARENT;
- wantparent = flags & (LOCKPARENT|WANTPARENT);
cnp->cn_flags &= ~PDIRUNLOCK;
/*
diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c
index 5c7805e64ab8..657a052a0784 100644
--- a/sys/isofs/cd9660/cd9660_lookup.c
+++ b/sys/isofs/cd9660/cd9660_lookup.c
@@ -106,7 +106,6 @@ cd9660_lookup(ap)
struct vnode *tdp; /* returned by cd9660_vget_internal */
u_long bmask; /* block offset mask */
int lockparent; /* 1 => lockparent flag is set */
- int wantparent; /* 1 => wantparent or lockparent flag */
int error;
ino_t ino = 0;
int reclen;
@@ -128,7 +127,6 @@ cd9660_lookup(ap)
dp = VTOI(vdp);
imp = dp->i_mnt;
lockparent = flags & LOCKPARENT;
- wantparent = flags & (LOCKPARENT|WANTPARENT);
cnp->cn_flags &= ~PDIRUNLOCK;
/*