summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-08-06 09:23:47 +0000
committerkib <kib@FreeBSD.org>2010-08-06 09:23:47 +0000
commit913fa4ba381b76ea679254f29c818b63c3702229 (patch)
treec748f9adfad5db3a69d62bf97fc14a434d90b58e /sys/fs/devfs/devfs.h
parent837d8df157cef778fb828ddd7776e24c8a537679 (diff)
downloadFreeBSD-src-913fa4ba381b76ea679254f29c818b63c3702229.zip
FreeBSD-src-913fa4ba381b76ea679254f29c818b63c3702229.tar.gz
Enable shared locks for the devfs vnodes. Honor the locking mode
requested by lookup(). This should be a nop at the moment. In collaboration with: pho MFC after: 1 month
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 a50a7b0..2c3a79c 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -172,7 +172,7 @@ extern unsigned devfs_rule_depth;
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,
+int devfs_allocv(struct devfs_dirent *de, struct mount *mp, int lockmode,
struct vnode **vpp);
void devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de, int vp_locked);
void devfs_dirent_free(struct devfs_dirent *de);
OpenPOWER on IntegriCloud