Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

zram: fix a spelling mistake

The spelling of the word "relases" is incorrect; it should be "releases".

Link: https://lkml.kernel.org/r/20251125020522.1913-1-chuguangqing@inspur.com
Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Chu Guangqing and committed by
Andrew Morton
8f4338b1 a493c7a6

+1 -1
+1 -1
drivers/block/zram/zram_drv.c
··· 1043 1043 index = pps->index; 1044 1044 zram_slot_lock(zram, index); 1045 1045 /* 1046 - * scan_slots() sets ZRAM_PP_SLOT and relases slot lock, so 1046 + * scan_slots() sets ZRAM_PP_SLOT and releases slot lock, so 1047 1047 * slots can change in the meantime. If slots are accessed or 1048 1048 * freed they lose ZRAM_PP_SLOT flag and hence we don't 1049 1049 * post-process them.