Deleted Added
full compact
zfs_ioctl.c (289562) zfs_ioctl.c (294329)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 192 unchanged lines hidden (view full) ---

201static struct cdev *zfsdev;
202
203extern void zfs_init(void);
204extern void zfs_fini(void);
205
206uint_t zfs_fsyncer_key;
207extern uint_t rrw_tsd_key;
208static uint_t zfs_allow_log_key;
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 192 unchanged lines hidden (view full) ---

201static struct cdev *zfsdev;
202
203extern void zfs_init(void);
204extern void zfs_fini(void);
205
206uint_t zfs_fsyncer_key;
207extern uint_t rrw_tsd_key;
208static uint_t zfs_allow_log_key;
209extern uint_t zfs_geom_probe_vdev_key;
209
210typedef int zfs_ioc_legacy_func_t(zfs_cmd_t *);
211typedef int zfs_ioc_func_t(const char *, nvlist_t *, nvlist_t *);
212typedef int zfs_secpolicy_func_t(zfs_cmd_t *, nvlist_t *, cred_t *);
213
214typedef enum {
215 NO_NAME,
216 POOL_NAME,

--- 6380 unchanged lines hidden (view full) ---

6597 spa_init(FREAD | FWRITE);
6598 zfs_init();
6599 zvol_init();
6600 zfs_ioctl_init();
6601
6602 tsd_create(&zfs_fsyncer_key, NULL);
6603 tsd_create(&rrw_tsd_key, rrw_tsd_destroy);
6604 tsd_create(&zfs_allow_log_key, zfs_allow_log_destroy);
210
211typedef int zfs_ioc_legacy_func_t(zfs_cmd_t *);
212typedef int zfs_ioc_func_t(const char *, nvlist_t *, nvlist_t *);
213typedef int zfs_secpolicy_func_t(zfs_cmd_t *, nvlist_t *, cred_t *);
214
215typedef enum {
216 NO_NAME,
217 POOL_NAME,

--- 6380 unchanged lines hidden (view full) ---

6598 spa_init(FREAD | FWRITE);
6599 zfs_init();
6600 zvol_init();
6601 zfs_ioctl_init();
6602
6603 tsd_create(&zfs_fsyncer_key, NULL);
6604 tsd_create(&rrw_tsd_key, rrw_tsd_destroy);
6605 tsd_create(&zfs_allow_log_key, zfs_allow_log_destroy);
6606 tsd_create(&zfs_geom_probe_vdev_key, NULL);
6605
6606 printf("ZFS storage pool version: features support (" SPA_VERSION_STRING ")\n");
6607 root_mount_rel(zfs_root_token);
6608
6609 zfsdev_init();
6610
6611 return (0);
6612}

--- 72 unchanged lines hidden ---
6607
6608 printf("ZFS storage pool version: features support (" SPA_VERSION_STRING ")\n");
6609 root_mount_rel(zfs_root_token);
6610
6611 zfsdev_init();
6612
6613 return (0);
6614}

--- 72 unchanged lines hidden ---