[Drbd-dev] [PATCH 5/5] zram: use generic PAGE_SECTORS and PAGE_SECTORS_SHIFT

Sergey Senozhatsky senozhatsky at chromium.org
Mon Apr 24 04:36:23 CEST 2023


On (23/04/21 12:58), Luis Chamberlain wrote:
> 
> Instead of re-defining the already existing constants use the provided ones:
> 
> So replace:
> 
>  o SECTORS_PER_PAGE_SHIFT with PAGE_SECTORS_SHIFT
>  o SECTORS_PER_PAGE       with PAGE_SECTORS
> 
> This produces no functional changes.
> 
> Signed-off-by: Luis Chamberlain <mcgrof at kernel.org>

Reviewed-by: Sergey Senozhatsky <senozhatsky at chromium.org>


More information about the drbd-dev mailing list