diff mbox series

mm/zswap: fix a white space issue

Message ID c15066a0-f061-42c9-b0f5-d60281d3d5d8@stanley.mountain (mailing list archive)
State New
Headers show
Series mm/zswap: fix a white space issue | expand

Commit Message

Dan Carpenter July 15, 2024, 8:23 p.m. UTC
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(-)

Comments

Chengming Zhou July 16, 2024, 2:12 a.m. UTC | #1
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) {
diff mbox series

Patch

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