LASSERT(sectypes[major] == type);
if (atomic_read(&type->pst_inst)) {
- CERROR("%s: still have %d, instances\n",
+ CERROR("%s: still have %d instances\n",
type->pst_name, atomic_read(&type->pst_inst));
spin_unlock(§ypes_lock);
return -EINVAL;
if (!force)
continue;
list_del_init(&cred->pc_hash);
+ CDEBUG(D_SEC, "sec %p: flush busy(%d) cred %p "
+ "by force\n", sec,
+ atomic_read(&cred->pc_refcount), cred);
} else
list_move(&cred->pc_hash, &freelist);