diff options
-rw-r--r-- | usr/src/uts/common/os/modconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/modconf.c b/usr/src/uts/common/os/modconf.c index ee5c97a9b8..2c033495bc 100644 --- a/usr/src/uts/common/os/modconf.c +++ b/usr/src/uts/common/os/modconf.c @@ -991,6 +991,7 @@ mod_removefs(struct modlfs *modl, struct modlinkage *modlp) /* XXX - Shouldn't the refcount be sufficient? */ if (vfs_opsinuse(&vswp->vsw_vfsops)) { + vfs_unrefvfssw(vswp); WUNLOCK_VFSSW(); return (EBUSY); } |