summaryrefslogtreecommitdiffstats
path: root/include/sys/sysevent.h
diff options
context:
space:
mode:
authorDave Eddy <[email protected]>2017-05-30 11:39:17 -0700
committerBrian Behlendorf <[email protected]>2017-07-12 21:28:13 -0700
commit12fa0466df8773fc6151e8b55367a1c4f76ec407 (patch)
treedc8627f3df85f8d2c0ce515afec0d17f20702a98 /include/sys/sysevent.h
parent314be68aa93a543f89d7c0137f25848e4c692653 (diff)
OpenZFS 6939 - add sysevents to zfs core for commands
Authored by: Dave Eddy <[email protected]> Reviewed by: Patrick Mooney <[email protected]> Reviewed by: Joshua M. Clulow <[email protected]> Reviewed by: Josh Wilsdon <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: George Wilson <[email protected]> Reviewed by: Richard Elling <[email protected]> Reviewed by: Alan Somers <[email protected]> Reviewed by: Andrew Stormont <[email protected]> Approved by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Ported-by: Giuseppe Di Natale <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/6939 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/ce1577b Closes #6328
Diffstat (limited to 'include/sys/sysevent.h')
-rw-r--r--include/sys/sysevent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/sysevent.h b/include/sys/sysevent.h
index 2922e3072..6510297d6 100644
--- a/include/sys/sysevent.h
+++ b/include/sys/sysevent.h
@@ -27,4 +27,10 @@
#ifndef _SYS_SYSEVENT_H
#define _SYS_SYSEVENT_H
+#include <sys/nvpair.h>
+
+typedef struct sysevent {
+ nvlist_t *resource;
+} sysevent_t;
+
#endif