Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 23:35:07 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5b5d78897c8b - main - Use a more specific type for geom_disk.d_event.
Message-ID:  <202107292335.16TNZ78k063738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=5b5d78897c8b1ec6b6e1dd8dd9cdbf19fee32149

commit 5b5d78897c8b1ec6b6e1dd8dd9cdbf19fee32149
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-07-29 23:34:46 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-07-29 23:34:46 +0000

    Use a more specific type for geom_disk.d_event.
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D31353
---
 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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107292335.16TNZ78k063738>