From 752712d2f9cd86c93a73092d044dfd3096037d74 Mon Sep 17 00:00:00 2001 From: lling Date: Fri, 10 Mar 2006 14:38:39 -0800 Subject: 6396551 ZFS failed to create a raidz volume with 23 disks --- usr/src/lib/libdiskmgt/common/inuse_zpool.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr/src') 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 #include #include +#include #include #include #include @@ -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); -- cgit v1.2.3