Move zfsdev_state_{init,destroy} to common code

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #11833
This commit is contained in:
Ryan Moeller
2021-03-16 13:04:58 +00:00
committed by Brian Behlendorf
parent 1dff545278
commit a631283b74
6 changed files with 96 additions and 109 deletions
-1
View File
@@ -567,7 +567,6 @@ typedef struct zfsdev_state {
extern void *zfsdev_get_state(minor_t minor, enum zfsdev_state_type which);
extern int zfsdev_getminor(int fd, minor_t *minorp);
extern minor_t zfsdev_minor_alloc(void);
extern uint_t zfs_fsyncer_key;
extern uint_t zfs_allow_log_key;