aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-08-13 13:05:08 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-08-13 13:05:08 +0000
commitb3d7d91f32f19576a1068e8d9f48e8ec8925c484 (patch)
treea113b03af7d5d2654f19946cb329bd94b084bc25
parenta0cf59e65e7654be611a9cfef805522463a9ba36 (diff)
Notes
-rw-r--r--sys/coda/coda_vnops.c5
-rw-r--r--sys/fs/coda/coda_vnops.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c
index ff12a6577a0d..b0a9bedec0cb 100644
--- a/sys/coda/coda_vnops.c
+++ b/sys/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,
diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c
index ff12a6577a0d..b0a9bedec0cb 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,