diff options
| author | dholland <dholland@NetBSD.org> | 2014-07-25 07:56:14 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2014-07-25 07:56:14 +0000 |
| commit | 1be6681b34110f97e344843acf115f2eaf591a2b (patch) | |
| tree | 9becfe18211f8c66e153518c54ec481d21f72c6b /sys/modules/lua/lua.c | |
| parent | d63fef51ff91f109b9c949245228438f1ae3cc5d (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
