]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/uverbs: Update outdated reference to remove_commit_idr_uobject()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:58:59 +0000 (18:58 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 30 Mar 2026 17:47:44 +0000 (13:47 -0400)
commitb247ed6f60bdc61616b0243024e118b0659ce78f
tree9535824247e9b85a88771f3b866815bb6b79177a
parentdc76086a2d94d09aea9fd41a65ed56e0f7a6ec50
RDMA/uverbs: Update outdated reference to remove_commit_idr_uobject()

The function remove_commit_idr_uobject() was split into
destroy_hw_idr_uobject() and remove_handle_idr_uobject() by
commit 0f50d88a6e9a ("IB/uverbs: Allow all DESTROY commands
to succeed after disassociate").  The kref put that the
comment refers to now lives in remove_handle_idr_uobject().
Update the stale reference.

Also update "allocated this IDR with a NULL object" to
"allocated this XArray entry with a NULL pointer" to match
the actual data structure (xa_store) and the wording already
used two lines below ("transfers our kref on uobj to the
XArray").

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260321105859.7642-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/rdma_core.c