Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/external/cddl/osnet/dist/lib/libzfs/common



Module Name:    src
Committed By:   martin
Date:           Mon Aug 29 15:39:40 UTC 2022

Modified Files:
        src/external/cddl/osnet/dist/lib/libzfs/common [netbsd-9]:
            libzfs_import.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1503):

        external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c: revision 1.7
        external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c: revision 1.6

When collecting zpool devices, skip disks with wedges so that a
concurrent test of a wedge on that disk doesn't fail.

libzfs: Zero DIOCLWEDGES input before ioctl.

Otherwise we ask the kernel to write over whatever random pointer was
in the stack garbage here, when all we wanted was to learn whether
dkwl_nwedges is zero or nonzero.

XXX pullup-9


To generate a diff of this commit:
cvs rdiff -u -r1.4.4.1 -r1.4.4.2 \
    src/external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index