]> 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)
commitcadd8ae80a51e5129bb6b2a86be75ea265aa2487
treecd68c4345efbc369530d12a37f6652a0c26b6940
parenta96e9505d634f0d1f9c705cbe89668c1350fda94
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