summaryrefslogtreecommitdiffstats
path: root/module/zfs/fm.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/fm.c')
-rw-r--r--module/zfs/fm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/fm.c b/module/zfs/fm.c
index 722855492..e3c3a1700 100644
--- a/module/zfs/fm.c
+++ b/module/zfs/fm.c
@@ -67,7 +67,6 @@
#include <sys/atomic.h>
#include <sys/condvar.h>
#include <sys/console.h>
-#include <sys/kobj.h>
#include <sys/time.h>
#include <sys/zfs_ioctl.h>
@@ -597,7 +596,7 @@ zfs_zevent_fd_hold(int fd, minor_t *minorp, zfs_zevent_t **ze)
void
zfs_zevent_fd_rele(int fd)
{
- releasef(fd);
+ zfs_file_put(fd);
}
/*