RDMA/cma: fix spelling of guarantees in comment

Correct "guarentees" to "guarantees" when describing handler teardown.

Signed-off-by: xiongweimin <xiongweimin@kylinos.cn>
Link: https://patch.msgid.link/20260714024423.188238-1-15927021679@163.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
xiongweimin 2026-07-14 10:44:23 +08:00 committed by Leon Romanovsky
parent f8d04b0c74
commit f5ca2c434e

View File

@ -2104,7 +2104,7 @@ static void destroy_id_handler_unlock(struct rdma_id_private *id_priv)
/*
* Setting the state to destroyed under the handler mutex provides a
* fence against calling handler callbacks. If this is invoked due to
* the failure of a handler callback then it guarentees that no future
* the failure of a handler callback then it guarantees that no future
* handlers will be called.
*/
lockdep_assert_held(&id_priv->handler_mutex);