diff options
author | Coly Li <colyli@suse.de> | 2023-11-20 13:25:02 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-11-20 09:17:51 -0700 |
commit | 31f5b956a197d4ec25c8a07cb3a2ab69d0c0b82f (patch) | |
tree | 85b738ff2bb0ff19d1a6b26aa2198aac12250521 /drivers/w1 | |
parent | f72f4312d4388376fc8a1f6cf37cb21a0d41758b (diff) | |
download | linux-31f5b956a197d4ec25c8a07cb3a2ab69d0c0b82f.tar.gz linux-31f5b956a197d4ec25c8a07cb3a2ab69d0c0b82f.tar.bz2 linux-31f5b956a197d4ec25c8a07cb3a2ab69d0c0b82f.zip |
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: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20231120052503.6122-10-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions