diff options
author | Brian Behlendorf <[email protected]> | 2014-09-30 19:24:04 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-03-18 10:44:37 -0700 |
commit | fa2a39dbabeca831bd5c9cc6b661588a70d78128 (patch) | |
tree | cff43cd8c3d97d11282d5fc1c697208df6dcc484 /lib/libspl/include/stdio.h | |
parent | e5adebbb0f83884cb1e2cd4120614e9da2f0a19b (diff) |
Update code to use misc_register()/misc_deregister()
When ZPIOS was originally written it was designed to use the
device_create() and device_destroy() functions. Unfortunately,
these functions changed considerably over the years making them
difficult to rely on.
As it turns out a better choice would have been to use the
misc_register()/misc_deregister() functions. This interface
for registering character devices has remained stable, is simple,
and provides everything we need.
Therefore the code has been reworked to use this interface. The
higher level ZFS code has always depended on these same interfaces
so this is also as a step towards minimizing our kernel dependencies.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #2757
Diffstat (limited to 'lib/libspl/include/stdio.h')
0 files changed, 0 insertions, 0 deletions