NetBSD-Bugs archive

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

PR/41704 CVS commit: src/sys/dev

The following reply was made to PR kern/41704; it has been noted by GNATS.

From: "Michael van Elst" <>
Subject: PR/41704 CVS commit: src/sys/dev
Date: Sat, 28 Nov 2015 21:06:31 +0000

 Module Name:	src
 Committed By:	mlelstv
 Date:		Sat Nov 28 21:06:31 UTC 2015
 Modified Files:
 	src/sys/dev: cgd.c
 Log Message:
 Remove bogus dk_getdisklabel call.
 - there is no need to read the label in the attach routine
 - passing a (dev_t)0 may cause havoc.
 This fixes PR 41704.
 To generate a diff of this commit:
 cvs rdiff -u -r1.105 -r1.106 src/sys/dev/cgd.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