summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/disk.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/disk.h b/sys/sys/disk.h
index b9966e3..420d9ba 100644
--- a/sys/sys/disk.h
+++ b/sys/sys/disk.h
@@ -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
OpenPOWER on IntegriCloud