]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
authorShenghui Wang <shhuiw@foxmail.com>
Sat, 16 Mar 2019 08:24:37 +0000 (16:24 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Mar 2019 17:01:02 +0000 (11:01 -0600)
"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>
include/linux/sbitmap.h

index 14d558146aea20e9ccc5267bd6a30856bce61406..20f3e3f029b9cadde3586aa725632871ee4d4a3e 100644 (file)
@@ -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
  * 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.
  */
 static inline void sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr)