summaryrefslogtreecommitdiff
path: root/sys/modules/lua/lua.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-07-25 07:56:14 +0000
committerdholland <dholland@NetBSD.org>2014-07-25 07:56:14 +0000
commit1be6681b34110f97e344843acf115f2eaf591a2b (patch)
tree9becfe18211f8c66e153518c54ec481d21f72c6b /sys/modules/lua/lua.c
parentd63fef51ff91f109b9c949245228438f1ae3cc5d (diff)
Add d_discard to struct bdevsw/cdevsw, and the plumbing to access it.
Unfortunately we need d_discard in both since we need to be able to discard from both the block and character forms of disks. I'm increasingly thinking it would be better to restructure the ops dispatching so each type of device (ttys, disks, tapes, etc.) has its own function table. Then we wouldn't need to change every tty driver to add a disk op.
Diffstat (limited to 'sys/modules/lua/lua.c')
0 files changed, 0 insertions, 0 deletions