Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drbd: drbd_insert_interval(): Clarify comment

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20230113123538.144276-9-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Andreas Gruenbacher and committed by
Jens Axboe
2bb34fa6 2990ca29

+1 -1
+1 -1
drivers/block/drbd/drbd_interval.c
··· 58 58 * drbd_contains_interval - check if a tree contains a given interval 59 59 * @root: red black tree root 60 60 * @sector: start sector of @interval 61 - * @interval: may not be a valid pointer 61 + * @interval: may be an invalid pointer 62 62 * 63 63 * Returns if the tree contains the node @interval with start sector @start. 64 64 * Does not dereference @interval until @interval is known to be a valid object