Module Name: src
Committed By: martin
Date: Wed May 29 15:11:11 UTC 2013
Modified Files:
src/sys/sys: disk.h
Log Message:
Add dk_geom to struct disk, from Christos.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/sys/disk.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/disk.h
diff -u src/sys/sys/disk.h:1.57 src/sys/sys/disk.h:1.58
--- src/sys/sys/disk.h:1.57 Sun Jun 10 17:05:18 2012
+++ src/sys/sys/disk.h Wed May 29 15:11:11 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: disk.h,v 1.57 2012/06/10 17:05:18 mlelstv Exp $ */
+/* $NetBSD: disk.h,v 1.58 2013/05/29 15:11:11 martin Exp $ */
/*-
* Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -421,6 +421,7 @@ struct disk {
TAILQ_ENTRY(disk) dk_link; /* link in global disklist */
const char *dk_name; /* disk name */
prop_dictionary_t dk_info; /* reference to disk-info dictionary */
+ struct disk_geom dk_geom; /* cooked version of dk_info */
int dk_bopenmask; /* block devices open */
int dk_copenmask; /* character devices open */
int dk_openmask; /* composite (bopen|copen) */