]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5671218885f4a53fd838ffef28b1cce1129ef3d
treecd68c4345efbc369530d12a37f6652a0c26b6940
parentcdf055e045fe0302ffc637d36da32d821baa1bbd
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