mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
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.
This commit is contained in:
parent
17a519f92f
commit
8d680f2cc9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224147
|
@ -89,6 +89,7 @@ typedef void g_dumpconf_t (struct sbuf *, const char *indent, struct g_geom *,
|
||||||
struct g_class {
|
struct g_class {
|
||||||
const char *name;
|
const char *name;
|
||||||
u_int version;
|
u_int version;
|
||||||
|
u_int spare0;
|
||||||
g_taste_t *taste;
|
g_taste_t *taste;
|
||||||
g_config_t *config;
|
g_config_t *config;
|
||||||
g_ctl_req_t *ctlreq;
|
g_ctl_req_t *ctlreq;
|
||||||
|
@ -105,6 +106,8 @@ struct g_class {
|
||||||
g_access_t *access;
|
g_access_t *access;
|
||||||
g_orphan_t *orphan;
|
g_orphan_t *orphan;
|
||||||
g_ioctl_t *ioctl;
|
g_ioctl_t *ioctl;
|
||||||
|
void *spare1;
|
||||||
|
void *spare2;
|
||||||
/*
|
/*
|
||||||
* The remaining elements are private
|
* The remaining elements are private
|
||||||
*/
|
*/
|
||||||
|
@ -134,6 +137,8 @@ struct g_geom {
|
||||||
g_access_t *access;
|
g_access_t *access;
|
||||||
g_orphan_t *orphan;
|
g_orphan_t *orphan;
|
||||||
g_ioctl_t *ioctl;
|
g_ioctl_t *ioctl;
|
||||||
|
void *spare0;
|
||||||
|
void *spare1;
|
||||||
void *softc;
|
void *softc;
|
||||||
unsigned flags;
|
unsigned flags;
|
||||||
#define G_GEOM_WITHER 1
|
#define G_GEOM_WITHER 1
|
||||||
|
|
Loading…
Reference in a new issue