summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-07-27 05:14:59 +0000
committerjeff <jeff@FreeBSD.org>2002-07-27 05:14:59 +0000
commit282b74d90b65412598af7ab6f01b7fa046676dd8 (patch)
tree64d259468e2afee0e2efaa3aa97fffca477ff04b /sys/fs
parent066f58464f971824c772c910c9c4455432cfc622 (diff)
downloadFreeBSD-src-282b74d90b65412598af7ab6f01b7fa046676dd8.zip
FreeBSD-src-282b74d90b65412598af7ab6f01b7fa046676dd8.tar.gz
- Explicitly state that specfs does not support locking by using
vop_no{lock,unlock,islocked}. This should be the only vnode opv that does so.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/specfs/spec_vnops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c
index 4ccb2db..cbb5e3c 100644
--- a/sys/fs/specfs/spec_vnops.c
+++ b/sys/fs/specfs/spec_vnops.c
@@ -104,6 +104,9 @@ static struct vnodeopv_entry_desc spec_vnodeop_entries[] = {
{ &vop_strategy_desc, (vop_t *) spec_strategy },
{ &vop_symlink_desc, (vop_t *) vop_panic },
{ &vop_write_desc, (vop_t *) spec_write },
+ { &vop_lock_desc, (vop_t *) vop_nolock },
+ { &vop_unlock_desc, (vop_t *) vop_nounlock },
+ { &vop_islocked_desc, (vop_t *) vop_noislocked },
{ NULL, NULL }
};
static struct vnodeopv_desc spec_vnodeop_opv_desc =
OpenPOWER on IntegriCloud