Explicit panic in vop_read/vop_write for devices

This commit is contained in:
Poul-Henning Kamp 2004-12-13 07:13:21 +00:00
parent 1239b0391a
commit f0d5cba935

View File

@ -1412,6 +1412,7 @@ struct vop_vector devfs_specops = {
.vop_open = devfs_open,
.vop_pathconf = devfs_pathconf,
.vop_print = devfs_print,
.vop_read = VOP_PANIC,
.vop_readdir = VOP_PANIC,
.vop_readlink = VOP_PANIC,
.vop_reallocblks = VOP_PANIC,
@ -1426,4 +1427,5 @@ struct vop_vector devfs_specops = {
#endif
.vop_strategy = VOP_PANIC,
.vop_symlink = VOP_PANIC,
.vop_write = VOP_PANIC,
};