Commit ae8998fe authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by David Stevens
Browse files

UPSTREAM: zram: reshuffle zram_free_page() flags operations

Drop some redundant zram_test_flag() calls and re-order zram_clear_flag()
calls.  Plus two small trivial coding style fixes.  No functional changes.

Link: https://lkml.kernel.org/r/20240917021020.883356-7-senozhatsky@chromium.org


Signed-off-by: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 1a1d0f89)

Bug: 446676432
Change-Id: Icec72582a5e85e3b37fdfaf5597b8ee07a24a1b0
Signed-off-by: default avatarDavid Stevens <stevensd@google.com>
parent e43fd1da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment