mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
committed by
Brian Behlendorf
parent
1dff545278
commit
a631283b74
@@ -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;
|
||||
|
||||
@@ -91,6 +91,10 @@ void zfs_vfs_rele(zfsvfs_t *);
|
||||
long zfsdev_ioctl_common(uint_t, zfs_cmd_t *, int);
|
||||
int zfsdev_attach(void);
|
||||
void zfsdev_detach(void);
|
||||
void zfsdev_private_set_state(void *, zfsdev_state_t *);
|
||||
zfsdev_state_t *zfsdev_private_get_state(void *);
|
||||
int zfsdev_state_init(void *);
|
||||
void zfsdev_state_destroy(void *);
|
||||
int zfs_kmod_init(void);
|
||||
void zfs_kmod_fini(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user