Mercurial > illumos > illumos-gate
changeset 5353:e60d5a1b398a
6613175 Error message "Configuration over device node failed" when deleting 2nd volume with T126434-04
author | jc156560 |
---|---|
date | Mon, 29 Oct 2007 11:07:25 -0700 |
parents | 30dae0788871 |
children | 6a5fbc95cd48 |
files | usr/src/lib/libraidcfg/common/raidcfg.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/libraidcfg/common/raidcfg.c Mon Oct 29 09:27:55 2007 -0700 +++ b/usr/src/lib/libraidcfg/common/raidcfg.c Mon Oct 29 11:07:25 2007 -0700 @@ -3571,7 +3571,9 @@ ret = raid_dev_config(CFGA_CMD_CONFIGURE, controller_attr->controller_id, disk_ids[i], 0); - if (ret < SUCCESS) { + if (ret == ERR_ARRAY_CONFIG) + ret = SUCCESS; + else if (ret < SUCCESS) { free(disk_ids); return (ret); }