kernel_samsung_a53x/drivers/md/bcache
Coly Li 680de32b18 bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
[ Upstream commit 31f5b956a197d4ec25c8a07cb3a2ab69d0c0b82f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:11:56 +01:00
..
alloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcache.h bcache: avoid oversize memory allocation by small stripe_size 2024-11-18 12:11:56 +01:00
bset.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bset.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btree.c bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc() 2024-11-18 12:11:56 +01:00
btree.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
closure.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
closure.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
extents.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
extents.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
features.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
features.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
journal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
journal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
movinggc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
request.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
request.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
super.c bcache: avoid oversize memory allocation by small stripe_size 2024-11-18 12:11:56 +01:00
sysfs.c bcache: prevent potential division by zero error 2024-11-18 12:10:57 +01:00
sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
writeback.c bcache: remove redundant assignment to variable cur_idx 2024-11-18 12:11:56 +01:00
writeback.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00