Skip to content

Commit 1e4471e

Browse files
shhuiwaxboe
authored andcommitted
sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
"sbitmap_batch_clear" should be "sbitmap_deferred_clear" Acked-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Shenghui Wang <shhuiw@foxmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 537d71b commit 1e4471e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/sbitmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr)
330330
/*
331331
* This one is special, since it doesn't actually clear the bit, rather it
332332
* sets the corresponding bit in the ->cleared mask instead. Paired with
333-
* the caller doing sbitmap_batch_clear() if a given index is full, which
333+
* the caller doing sbitmap_deferred_clear() if a given index is full, which
334334
* will clear the previously freed entries in the corresponding ->word.
335335
*/
336336
static inline void sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr)

0 commit comments

Comments
 (0)