From 90c832de103bf8a88947637500243fa256e75b31 Mon Sep 17 00:00:00 2001 From: Mike Gerdts Date: Fri, 22 Nov 2019 21:18:51 +0000 Subject: OS-8054 inotify watches lead to EBUSY during zfs mount --- usr/src/uts/common/sys/fem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/sys') diff --git a/usr/src/uts/common/sys/fem.h b/usr/src/uts/common/sys/fem.h index beb838fdfa..f606c47e3b 100644 --- a/usr/src/uts/common/sys/fem.h +++ b/usr/src/uts/common/sys/fem.h @@ -23,6 +23,7 @@ * Use is subject to license terms. * * Copyright 2013 Nexenta Systems, Inc. All rights reserved. + * Copyright 2019 Joyent, Inc. */ #ifndef _SYS_FEM_H @@ -427,7 +428,7 @@ extern int fem_is_installed(struct vnode *v, fem_t *mon, void *arg); extern int fem_uninstall(struct vnode *v, fem_t *mon, void *arg); extern vnodeops_t *fem_getvnops(struct vnode *v); extern void fem_setvnops(struct vnode *v, struct vnodeops *nops); - +extern int fem_getvnrefs(vnode_t *); extern int fsem_create(char *name, const struct fs_operation_def *templ, fsem_t **actual); -- cgit v1.2.3