summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs_int.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2006-10-18 11:17:14 +0000
committerkib <kib@FreeBSD.org>2006-10-18 11:17:14 +0000
commitafa2e43fb674890ad8f674ff38740feec99c9ccf (patch)
tree56d37cc662ba01f5ad5cc43471b2ec01b82065c7 /sys/fs/devfs/devfs_int.h
parent5968c5802fef666ef00a33be6ef9295a1a176932 (diff)
downloadFreeBSD-src-afa2e43fb674890ad8f674ff38740feec99c9ccf.zip
FreeBSD-src-afa2e43fb674890ad8f674ff38740feec99c9ccf.tar.gz
Properly lock the vnode around vgone() calls.
Unlock the vnode in devfs_close() while calling into the driver d_close() routine. devfs_revoke() changes by: ups Reviewed and bugfixes by: tegge Tested by: mbr, Peter Holm Approved by: pjd (mentor) MFC after: 1 week
Diffstat (limited to 'sys/fs/devfs/devfs_int.h')
-rw-r--r--sys/fs/devfs/devfs_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_int.h b/sys/fs/devfs/devfs_int.h
index 41cc0c2..2bd7f99 100644
--- a/sys/fs/devfs/devfs_int.h
+++ b/sys/fs/devfs/devfs_int.h
@@ -61,6 +61,8 @@ void devfs_destroy(struct cdev *dev);
extern struct unrhdr *devfs_inos;
extern struct mtx devmtx;
+extern struct mtx devfs_de_interlock;
+extern TAILQ_HEAD(cdev_priv_list, cdev_priv) cdevp_list;
#endif /* _KERNEL */
OpenPOWER on IntegriCloud