FreeBSD Bugzilla – Attachment 190872 Details for
Bug 226096
[zfs] zpool add attach internal error: out of memory, pool with many vdevs, since r324255
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
init errno = 0; in zpool_read_labelr()
patch-errno-libzfs_import.c.diff (text/plain), 529 bytes, created by
Evaldas Auryla
on 2018-02-21 20:48:43 UTC
(
hide
)
Description:
init errno = 0; in zpool_read_labelr()
Filename:
MIME Type:
Creator:
Evaldas Auryla
Created:
2018-02-21 20:48:43 UTC
Size:
529 bytes
patch
obsolete
>Index: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c >=================================================================== >--- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c (revision 329700) >+++ cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c (working copy) >@@ -878,6 +878,8 @@ > > *config = NULL; > >+ /* errno is tested upon return, initialize it here */ >+ errno = 0; > if (fstat64(fd, &statbuf) == -1) > return (-1); > size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226096
: 190872