Commit 1e4471e7 authored by Shenghui Wang's avatar Shenghui Wang Committed by Jens Axboe

sbitmap: trivial - update comment for sbitmap_deferred_clear_bit

"sbitmap_batch_clear" should be "sbitmap_deferred_clear"
Acked-by: default avatarOmar Sandoval <osandov@fb.com>
Signed-off-by: default avatarShenghui Wang <shhuiw@foxmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 537d71b3
...@@ -330,7 +330,7 @@ static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr) ...@@ -330,7 +330,7 @@ static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr)
/* /*
* This one is special, since it doesn't actually clear the bit, rather it * This one is special, since it doesn't actually clear the bit, rather it
* sets the corresponding bit in the ->cleared mask instead. Paired with * sets the corresponding bit in the ->cleared mask instead. Paired with
* the caller doing sbitmap_batch_clear() if a given index is full, which * the caller doing sbitmap_deferred_clear() if a given index is full, which
* will clear the previously freed entries in the corresponding ->word. * will clear the previously freed entries in the corresponding ->word.
*/ */
static inline void sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr) static inline void sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr)
......
Markdown is supported
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