zfs_ioctl.c (190676) | zfs_ioctl.c (190878) |
---|---|
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 --- 3073 unchanged lines hidden (view full) --- 3082static int 3083zfs_modevent(module_t mod, int type, void *unused __unused) 3084{ 3085 int error; 3086 3087 error = EOPNOTSUPP; 3088 switch (type) { 3089 case MOD_LOAD: | 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 --- 3073 unchanged lines hidden (view full) --- 3082static int 3083zfs_modevent(module_t mod, int type, void *unused __unused) 3084{ 3085 int error; 3086 3087 error = EOPNOTSUPP; 3088 switch (type) { 3089 case MOD_LOAD: |
3090 zfs_root_token = root_mount_hold("ZFS", M_WAITOK); | 3090 zfs_root_token = root_mount_hold("ZFS"); |
3091 printf("WARNING: ZFS is considered to be an experimental " 3092 "feature in FreeBSD.\n"); 3093 TASK_INIT(&zfs_start_task, 0, zfs_start, NULL); 3094 taskqueue_enqueue(taskqueue_thread, &zfs_start_task); 3095 mutex_init(&zfs_share_lock, NULL, MUTEX_DEFAULT, NULL); 3096 error = 0; 3097 break; 3098 case MOD_UNLOAD: --- 25 unchanged lines hidden --- | 3091 printf("WARNING: ZFS is considered to be an experimental " 3092 "feature in FreeBSD.\n"); 3093 TASK_INIT(&zfs_start_task, 0, zfs_start, NULL); 3094 taskqueue_enqueue(taskqueue_thread, &zfs_start_task); 3095 mutex_init(&zfs_share_lock, NULL, MUTEX_DEFAULT, NULL); 3096 error = 0; 3097 break; 3098 case MOD_UNLOAD: --- 25 unchanged lines hidden --- |