Deleted Added
full compact
zfs_ioctl.c (207626) zfs_ioctl.c (207670)
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

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

877 return (error);
878}
879
880static int
881zfs_ioc_pool_export(zfs_cmd_t *zc)
882{
883 int error;
884 boolean_t force = (boolean_t)zc->zc_cookie;
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

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

877 return (error);
878}
879
880static int
881zfs_ioc_pool_export(zfs_cmd_t *zc)
882{
883 int error;
884 boolean_t force = (boolean_t)zc->zc_cookie;
885 boolean_t hardforce = (boolean_t)zc->zc_guid;
885
886 zfs_log_history(zc);
886
887 zfs_log_history(zc);
887 error = spa_export(zc->zc_name, NULL, force);
888 error = spa_export(zc->zc_name, NULL, force, hardforce);
888 return (error);
889}
890
891static int
892zfs_ioc_pool_configs(zfs_cmd_t *zc)
893{
894 nvlist_t *configs;
895 int error;

--- 2245 unchanged lines hidden ---
889 return (error);
890}
891
892static int
893zfs_ioc_pool_configs(zfs_cmd_t *zc)
894{
895 nvlist_t *configs;
896 int error;

--- 2245 unchanged lines hidden ---