Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Do not use sysent...
details: https://anonhg.NetBSD.org/src/rev/6fd84a2ed82a
branches: trunk
changeset: 747921:6fd84a2ed82a
user: haad <haad%NetBSD.org@localhost>
date: Mon Oct 05 23:31:16 2009 +0000
description:
Do not use sysent solaris framework there is no such thing in a NetBSD.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/spa.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 9771f5acebc0 -r 6fd84a2ed82a external/cddl/osnet/dist/uts/common/fs/zfs/spa.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/spa.c Mon Oct 05 22:44:26 2009 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/spa.c Mon Oct 05 23:31:16 2009 +0000
@@ -4252,6 +4252,7 @@
void
spa_event_notify(spa_t *spa, vdev_t *vd, const char *name)
{
+#ifndef __NetBSD__
#ifdef _KERNEL
sysevent_t *ev;
sysevent_attr_list_t *attr = NULL;
@@ -4298,4 +4299,5 @@
sysevent_free_attr(attr);
sysevent_free(ev);
#endif
+#endif /* __NetBSD__ */
}
Home |
Main Index |
Thread Index |
Old Index