Re: [PATCH] btrfs: use PAGE_ALIGNED instead of IS_ALIGNED

From: Nikolay Borisov
Date: Fri May 27 2022 - 01:18:10 EST




On 26.05.22 г. 17:35 ч., bh1scw@xxxxxxxxx wrote:
From: Fanjun Kong <bh1scw@xxxxxxxxx>

The <linux/mm.h> already provides the PAGE_ALIGNED macro. Let's
use this macro instead of IS_ALIGNED and passing PAGE_SIZE directly.

Signed-off-by: Fanjun Kong <bh1scw@xxxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>