libzfs_pool.c (212791) | libzfs_pool.c (213197) |
---|---|
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 --- 1706 unchanged lines hidden (view full) --- 1715 switch (errno) { 1716 case EBUSY: 1717 1718 /* 1719 * There are no other replicas of this device. 1720 */ 1721 return (zfs_error(hdl, EZFS_NOREPLICAS, msg)); 1722 | 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 --- 1706 unchanged lines hidden (view full) --- 1715 switch (errno) { 1716 case EBUSY: 1717 1718 /* 1719 * There are no other replicas of this device. 1720 */ 1721 return (zfs_error(hdl, EZFS_NOREPLICAS, msg)); 1722 |
1723 case EEXIST: 1724 /* 1725 * The log device has unplayed logs 1726 */ 1727 return (zfs_error(hdl, EZFS_UNPLAYED_LOGS, msg)); 1728 |
|
1723 default: 1724 return (zpool_standard_error(hdl, errno, msg)); 1725 } 1726 1727} 1728 1729/* 1730 * Mark the given vdev degraded. --- 1378 unchanged lines hidden --- | 1729 default: 1730 return (zpool_standard_error(hdl, errno, msg)); 1731 } 1732 1733} 1734 1735/* 1736 * Mark the given vdev degraded. --- 1378 unchanged lines hidden --- |