summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.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.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.h')
-rw-r--r--sys/fs/devfs/devfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index b01f586..1050ba5 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -173,7 +173,7 @@ void devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de);
void devfs_rules_cleanup (struct devfs_mount *dm);
int devfs_rules_ioctl(struct devfs_mount *dm, u_long cmd, caddr_t data, struct thread *td);
int devfs_allocv (struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct thread *td);
-void devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de);
+void devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de, int vp_locked);
void devfs_dirent_free(struct devfs_dirent *de);
void devfs_populate (struct devfs_mount *dm);
void devfs_cleanup (struct devfs_mount *dm);
OpenPOWER on IntegriCloud