aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zpl_super.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-09-30 19:24:04 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 14:58:44 -0700
commit60bba628149439c4d36c6d75f726f0e3fabdbb4f (patch)
tree8c64108dd2f5de16d45ef5165f47177e3cb458f9 /module/zfs/zpl_super.c
parente33045ee98611b30bbe2f174a709f470f9201171 (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 'module/zfs/zpl_super.c')
0 files changed, 0 insertions, 0 deletions