Skip to content
Commit 31f5b956 authored by Coly Li's avatar Coly Li Committed by Jens Axboe
Browse files

bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()



This patch adds code comments to bch_btree_node_get() and
__bch_btree_node_alloc() that NULL pointer will not be returned and it
is unnecessary to check NULL pointer by the callers of these routines.

Signed-off-by: default avatarColy Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20231120052503.6122-10-colyli@suse.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f72f4312
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment