return;
}
LASSERT(list_empty(&gmsg->gum_list));
+ LASSERT(list_empty(&gmsg->gum_base.list));
OBD_FREE(gmsg, sizeof(*gmsg));
EXIT;
}
EXIT;
return;
}
- /* FIXME should not do this. when we in upper upcall queue,
- * downcall will call unhash_msg, thus later put_msg might
- * free msg buffer while it's not dequeued XXX */
- list_del_init(&gmsg->gum_base.list);
- /* FIXME */
list_del_init(&gmsg->gum_list);
wake_up(&gmsg->gum_waitq);
#endif /* __KERNEL__ */
/********************************************
- * gss cred manupulation helpers *
+ * gss cred manipulation helpers *
********************************************/
static
int gss_cred_is_uptodate_ctx(struct ptlrpc_cred *cred)
res = 0;
out:
- spin_lock(&gsec->gs_lock);
gss_release_msg(gss_msg);
- spin_unlock(&gsec->gs_lock);
RETURN(res);
}
rc = lustre_pack_reply(req, 0, NULL, NULL);
if (rc) {
CERROR("failed to pack reply, rc = %d\n", rc);
+ set_bit(CACHE_NEGATIVE, &rsci->h.flags);
GOTO(out, rc = SVC_DROP);
}