btrfs: use PAGE_ALIGNED instead of IS_ALIGNED
authorFanjun Kong <bh1scw@gmail.com>
Thu, 26 May 2022 14:35:40 +0000 (22:35 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:44:33 +0000 (17:44 +0200)
commit1280d2d1651bf47a7084538976effa70ee75293c
treecd68c4345efbc369530d12a37f6652a0c26b6940
parent31f37269802b7d2ce5ec98240b801948345809b4
btrfs: use PAGE_ALIGNED instead of IS_ALIGNED

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

Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/inode.c