Refresh linux-have-fm
This commit is contained in:
parent
9baaa468ac
commit
6e70d56d64
17
.topmsg
17
.topmsg
|
@ -1,19 +1,6 @@
|
|||
From: Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
Subject: [PATCH] zfs branch
|
||||
Subject: [PATCH] linux have fm
|
||||
|
||||
Merged result of all changes which are relevant to both Solaris
|
||||
and Linux builds of the ZFS code. These are changes where there
|
||||
is a reasonable chance they will be accepted upstream.
|
||||
|
||||
Additionally, since this is effectively the root of the linux
|
||||
ZFS tree the core linux build system is added here. This
|
||||
includes autogen.sh, configure.ac, m4 macros, some scripts/*,
|
||||
and makefiles for all the core ZFS components. Linux-only
|
||||
features which require tweaks to the build system should appear
|
||||
on the relevant topic branches. All autotools products which
|
||||
result from autogen.sh are commited to the linux-configure-branch.
|
||||
|
||||
This branch also contains the META, ChangeLog, AUTHORS,
|
||||
README, and GIT files.
|
||||
Use fm_* if HAVE_FM defined
|
||||
|
||||
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
|
||||
|
|
|
@ -92,7 +92,7 @@ void
|
|||
zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio,
|
||||
uint64_t stateoroffset, uint64_t size)
|
||||
{
|
||||
#ifdef _KERNEL
|
||||
#if defined(_KERNEL) && defined(HAVE_FM)
|
||||
nvlist_t *ereport, *detector;
|
||||
uint64_t ena;
|
||||
char class[64];
|
||||
|
@ -315,7 +315,7 @@ zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio,
|
|||
static void
|
||||
zfs_post_common(spa_t *spa, vdev_t *vd, const char *name)
|
||||
{
|
||||
#ifdef _KERNEL
|
||||
#if defined(_KERNEL) && defined(HAVE_FM)
|
||||
nvlist_t *resource;
|
||||
char class[64];
|
||||
|
||||
|
|
Loading…
Reference in New Issue