* [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
@ 2019-03-16 8:24 Shenghui Wang
2019-03-21 22:12 ` Omar Sandoval
2019-03-22 17:01 ` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Shenghui Wang @ 2019-03-16 8:24 UTC (permalink / raw)
To: axboe, osandov, linux-kernel
"sbitmap_batch_clear" should be "sbitmap_deferred_clear"
Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
---
include/linux/sbitmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/sbitmap.h b/include/linux/sbitmap.h
index 14d558146aea..20f3e3f029b9 100644
--- a/include/linux/sbitmap.h
+++ b/include/linux/sbitmap.h
@@ -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)
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
2019-03-16 8:24 [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit Shenghui Wang
@ 2019-03-21 22:12 ` Omar Sandoval
2019-03-22 17:01 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Omar Sandoval @ 2019-03-21 22:12 UTC (permalink / raw)
To: Shenghui Wang; +Cc: axboe, osandov, linux-kernel
On Sat, Mar 16, 2019 at 04:24:37PM +0800, Shenghui Wang wrote:
> "sbitmap_batch_clear" should be "sbitmap_deferred_clear"
Acked-by: Omar Sandoval <osandov@fb.com>
> Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
> ---
> include/linux/sbitmap.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/sbitmap.h b/include/linux/sbitmap.h
> index 14d558146aea..20f3e3f029b9 100644
> --- a/include/linux/sbitmap.h
> +++ b/include/linux/sbitmap.h
> @@ -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)
> --
> 2.20.1
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
2019-03-16 8:24 [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit Shenghui Wang
2019-03-21 22:12 ` Omar Sandoval
@ 2019-03-22 17:01 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2019-03-22 17:01 UTC (permalink / raw)
To: Shenghui Wang, osandov, linux-kernel
On 3/16/19 2:24 AM, Shenghui Wang wrote:
> "sbitmap_batch_clear" should be "sbitmap_deferred_clear"
Applied, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-22 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-16 8:24 [PATCH] sbitmap: trivial - update comment for sbitmap_deferred_clear_bit Shenghui Wang
2019-03-21 22:12 ` Omar Sandoval
2019-03-22 17:01 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).