diff options
author | pjd <pjd@FreeBSD.org> | 2011-07-17 20:35:30 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-07-17 20:35:30 +0000 |
commit | 72c4e7a05297aaaa59983cad8f9a75e5d28a9010 (patch) | |
tree | 8281e5c150c5c2ab2c3bee087697ea968d10d7bd /sys/geom/geom.h | |
parent | 1242dbdf4294fcc6d8c86624ac47200de30e5146 (diff) | |
download | FreeBSD-src-72c4e7a05297aaaa59983cad8f9a75e5d28a9010.zip FreeBSD-src-72c4e7a05297aaaa59983cad8f9a75e5d28a9010.tar.gz |
Add some spare fields to the g_class and g_geom structures needed to implement
direct I/O handling and provider's property changes handling.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index b90e6bc..2546b56 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -89,6 +89,7 @@ typedef void g_dumpconf_t (struct sbuf *, const char *indent, struct g_geom *, struct g_class { const char *name; u_int version; + u_int spare0; g_taste_t *taste; g_config_t *config; g_ctl_req_t *ctlreq; @@ -105,6 +106,8 @@ struct g_class { g_access_t *access; g_orphan_t *orphan; g_ioctl_t *ioctl; + void *spare1; + void *spare2; /* * The remaining elements are private */ @@ -134,6 +137,8 @@ struct g_geom { g_access_t *access; g_orphan_t *orphan; g_ioctl_t *ioctl; + void *spare0; + void *spare1; void *softc; unsigned flags; #define G_GEOM_WITHER 1 |