Module Name: src Committed By: martin Date: Sun Dec 8 14:39:07 UTC 2019
Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs [netbsd-9]: vdev_disk.c Log Message: 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) To generate a diff of this commit: cvs rdiff -u -r1.11.2.1 -r1.11.2.2 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c:1.11.2.1 src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c:1.11.2.2 --- src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c:1.11.2.1 Tue Aug 20 11:44:14 2019 +++ src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c Sun Dec 8 14:39:07 2019 @@ -244,6 +244,7 @@ vdev_disk_open(vdev_t *vd, uint64_t *psi } 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);