linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/zswap: fix a white space issue
@ 2024-07-15 20:23 Dan Carpenter
  2024-07-16  2:12 ` Chengming Zhou
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2024-07-15 20:23 UTC (permalink / raw)
  To: Chengming Zhou, Johannes Weiner
  Cc: Yosry Ahmed, Nhat Pham, Andrew Morton, linux-mm, linux-kernel,
	kernel-janitors

We accidentally deleted a tab in commit f84152e9efc5 ("mm/zswap: use only
one pool in zswap").  Add it back.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 mm/zswap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/zswap.c b/mm/zswap.c
index 66decab33d14..adeaf9c97fde 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -803,7 +803,7 @@ static void zswap_entry_free(struct zswap_entry *entry)
 		atomic_dec(&zswap_same_filled_pages);
 	else {
 		zswap_lru_del(&zswap_list_lru, entry);
-	zpool_free(entry->pool->zpool, entry->handle);
+		zpool_free(entry->pool->zpool, entry->handle);
 		zswap_pool_put(entry->pool);
 	}
 	if (entry->objcg) {
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm/zswap: fix a white space issue
  2024-07-15 20:23 [PATCH] mm/zswap: fix a white space issue Dan Carpenter
@ 2024-07-16  2:12 ` Chengming Zhou
  0 siblings, 0 replies; 2+ messages in thread
From: Chengming Zhou @ 2024-07-16  2:12 UTC (permalink / raw)
  To: Dan Carpenter, Johannes Weiner
  Cc: Yosry Ahmed, Nhat Pham, Andrew Morton, linux-mm, linux-kernel,
	kernel-janitors

On 2024/7/16 04:23, Dan Carpenter wrote:
> We accidentally deleted a tab in commit f84152e9efc5 ("mm/zswap: use only
> one pool in zswap").  Add it back.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>

Thanks!

Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>

> ---
>   mm/zswap.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/zswap.c b/mm/zswap.c
> index 66decab33d14..adeaf9c97fde 100644
> --- a/mm/zswap.c
> +++ b/mm/zswap.c
> @@ -803,7 +803,7 @@ static void zswap_entry_free(struct zswap_entry *entry)
>   		atomic_dec(&zswap_same_filled_pages);
>   	else {
>   		zswap_lru_del(&zswap_list_lru, entry);
> -	zpool_free(entry->pool->zpool, entry->handle);
> +		zpool_free(entry->pool->zpool, entry->handle);
>   		zswap_pool_put(entry->pool);
>   	}
>   	if (entry->objcg) {


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-16  2:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 20:23 [PATCH] mm/zswap: fix a white space issue Dan Carpenter
2024-07-16  2:12 ` Chengming Zhou

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).