git: 4424bc88a79c - stable/13 - Use a more specific type for geom_disk.d_event.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Apr 2022 20:54:53 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=4424bc88a79cd4e4db5778957bf5dfd58350c718
commit 4424bc88a79cd4e4db5778957bf5dfd58350c718
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-07-29 23:34:46 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-29 20:50:03 +0000
Use a more specific type for geom_disk.d_event.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D31353
(cherry picked from commit 5b5d78897c8b1ec6b6e1dd8dd9cdbf19fee32149)
---
sys/geom/geom_disk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/geom/geom_disk.h b/sys/geom/geom_disk.h
index 7dd6e34c9ae2..10a14c9c1da7 100644
--- a/sys/geom/geom_disk.h
+++ b/sys/geom/geom_disk.h
@@ -125,7 +125,7 @@ struct disk {
/* Fields private to geom_disk, to be moved on next version bump */
LIST_HEAD(,disk_alias) d_aliases;
- void *d_event;
+ struct g_event *d_event;
};
#define DISKFLAG_RESERVED 0x0001 /* Was NEEDSGIANT */