| e511f63a | 15-Oct-2014 |
Konstantin Belousov <[email protected]> |
Style changes for deadfs: - ANSIfy VOPs. - Remove trivial comments. - Remove ARGSUSED. - Remove copies of the vop_XXX_args structure definitions in comments.
Sponsored by: The FreeBSD Foundation MFC
Style changes for deadfs: - ANSIfy VOPs. - Remove trivial comments. - Remove ARGSUSED. - Remove copies of the vop_XXX_args structure definitions in comments.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
| f12aa60c | 15-Oct-2014 |
Konstantin Belousov <[email protected]> |
When vnode bypass cannot be performed on the cdev file descriptor for read/write/poll/ioctl, call standard vnode filedescriptor fop. This restores the special handling for terminals by calling the d
When vnode bypass cannot be performed on the cdev file descriptor for read/write/poll/ioctl, call standard vnode filedescriptor fop. This restores the special handling for terminals by calling the deadfs VOP, instead of always returning ENXIO for destroyed devices or revoked terminals.
Since destroyed (and not revoked) device would use devfs_specops VOP vector, make dead_read/write/poll non-static and fill VOP table with pointers to the functions, to instead of VOP_PANIC.
Noted and reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|