Source-Changes-HG archive

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

[src/netbsd-9]: src/external/cddl/osnet/dist/uts/common/fs/zfs Pull up follow...



details:   https://anonhg.NetBSD.org/src/rev/dbbd50950d4b
branches:  netbsd-9
changeset: 1001251:dbbd50950d4b
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Dec 08 14:39:07 2019 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #514):

        external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c: revision 1.13

Initialize b_dev before passing buf to d_minphys (ldminphys needs this)

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3b765c62e4f5 -r dbbd50950d4b external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c    Sun Dec 08 14:37:29 2019 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c    Sun Dec 08 14:39:07 2019 +0000
@@ -244,6 +244,7 @@
                        } else {
                                pdk = NULL;
                        }
+                       buf.b_dev = vp->v_rdev;
                }
                if (pdk && pdk->dk_driver && pdk->dk_driver->d_minphys)
                        (*pdk->dk_driver->d_minphys)(&buf);



Home | Main Index | Thread Index | Old Index