NO_GEOM cleanup: remove unused fields in struct disk, set type for d_softc.

This commit is contained in:
Poul-Henning Kamp 2003-01-30 11:46:35 +00:00
parent 21d4d23958
commit 6364965464
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110083

View File

@ -19,6 +19,8 @@
#include <sys/queue.h>
struct g_geom;
struct disk {
u_int d_flags;
u_int d_dsflags;
@ -31,10 +33,7 @@ struct disk {
u_int d_fwsectors;
u_int d_fwheads;
struct diskslices *d_slice;
struct disklabel *d_label;
LIST_ENTRY(disk) d_list;
void *d_softc;
struct g_geom *d_softc;
};
#define DISKFLAG_LOCK 0x1