-/* $OpenBSD: vfs_subr.c,v 1.319 2024/02/03 18:51:58 beck Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.320 2024/07/05 05:42:08 jsg Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
bufinsvn(bp, listheadp);
}
-/*
- * Check if vnode represents a disk device
- */
-int
-vn_isdisk(struct vnode *vp, int *errp)
-{
- if (vp->v_type != VBLK && vp->v_type != VCHR)
- return (0);
-
- return (1);
-}
-
#ifdef DDB
#include <machine/db_machdep.h>
#include <ddb/db_interface.h>
-/* $OpenBSD: vnode.h,v 1.170 2024/02/03 18:51:58 beck Exp $ */
+/* $OpenBSD: vnode.h,v 1.171 2024/07/05 05:42:08 jsg Exp $ */
/* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */
/*
void vn_syncer_add_to_worklist(struct vnode *, int);
/* misc */
-int vn_isdisk(struct vnode *, int *);
int getvnode(struct proc *, int, struct file **);
/* uvm */