diff options
author | lling <none@none> | 2006-03-10 14:38:39 -0800 |
---|---|---|
committer | lling <none@none> | 2006-03-10 14:38:39 -0800 |
commit | 752712d2f9cd86c93a73092d044dfd3096037d74 (patch) | |
tree | acb7a9225d9750c4badceef8414c9fe29004f364 /usr/src/lib/libdiskmgt/common | |
parent | 86be1f3c5612d21bb7abd9d4f44f6007df8c5461 (diff) | |
download | illumos-joyent-752712d2f9cd86c93a73092d044dfd3096037d74.tar.gz |
6396551 ZFS failed to create a raidz volume with 23 disks
Diffstat (limited to 'usr/src/lib/libdiskmgt/common')
-rw-r--r-- | usr/src/lib/libdiskmgt/common/inuse_zpool.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/lib/libdiskmgt/common/inuse_zpool.c b/usr/src/lib/libdiskmgt/common/inuse_zpool.c index 9c6d3a0ecc..1637ace92d 100644 --- a/usr/src/lib/libdiskmgt/common/inuse_zpool.c +++ b/usr/src/lib/libdiskmgt/common/inuse_zpool.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -34,6 +33,7 @@ #include <stdlib.h> #include <stdio.h> #include <strings.h> +#include <unistd.h> #include <sys/param.h> #include <sys/errno.h> #include <sys/types.h> @@ -103,6 +103,7 @@ inuse_zpool_common(char *slice, nvlist_t *attrs, int *errp, char *type) name, errp); } } + (void) close(fd); } (void) rw_unlock(&zpool_lock); |