summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-13 13:05:08 +0000
committerphk <phk@FreeBSD.org>1999-08-13 13:05:08 +0000
commit8a073373def246df977f4e46302ba3a3a6e2a05f (patch)
tree53ae835d8954e01e08be065f56edbba3c48bf2bd /sys/fs
parent372b698140d8fd7f717e67292115687ef179f3c5 (diff)
downloadFreeBSD-src-8a073373def246df977f4e46302ba3a3a6e2a05f.zip
FreeBSD-src-8a073373def246df977f4e46302ba3a3a6e2a05f.tar.gz
Don't examine vp->v_tag (see comment in vnode.h)
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/coda/coda_vnops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c
index ff12a65..b0a9bed 100644
--- a/sys/fs/coda/coda_vnops.c
+++ b/sys/fs/coda/coda_vnops.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_vnops.c,v 1.16 1999/07/21 12:51:36 phk Exp $
+ * $Id: coda_vnops.c,v 1.17 1999/08/08 13:22:05 bde Exp $
*
*/
@@ -561,8 +561,7 @@ coda_ioctl(v)
* Make sure this is a coda style cnode, but it may be a
* different vfsp
*/
- /* XXX: this totally violates the comment about vtagtype in vnode.h */
- if (tvp->v_tag != VT_CODA) {
+ if (tvp->v_op != coda_vnodeop_p) {
vrele(tvp);
MARK_INT_FAIL(CODA_IOCTL_STATS);
CODADEBUG(CODA_IOCTL,
OpenPOWER on IntegriCloud