diff --git a/module/zfs/zil.c b/module/zfs/zil.c index e625bb996..c91bb59fc 100644 --- a/module/zfs/zil.c +++ b/module/zfs/zil.c @@ -667,7 +667,15 @@ zil_claim(const char *osname, void *txarg) error = dmu_objset_own(osname, DMU_OST_ANY, B_FALSE, FTAG, &os); if (error != 0) { - cmn_err(CE_WARN, "can't open objset for %s", osname); + /* + * EBUSY indicates that the objset is inconsistent, in which + * case it can not have a ZIL. + */ + if (error != EBUSY) { + cmn_err(CE_WARN, "can't open objset for %s, error %u", + osname, error); + } + return (0); }