]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: use PAGE_{ALIGN, ALIGNED, ALIGN_DOWN} macro
authorYushan Zhou <katrinzhou@tencent.com>
Tue, 3 Jan 2023 05:11:37 +0000 (13:11 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Feb 2023 16:50:34 +0000 (17:50 +0100)
commitce394a7f39032bc2a85b070af608e3ae8b2cefda
tree9aad92997d8fb89919c8febb8cb482312648b207
parentd31de3785047a24959eda835b0bafb1f8629f8a9
btrfs: use PAGE_{ALIGN, ALIGNED, ALIGN_DOWN} macro

The header file linux/mm.h provides PAGE_ALIGN, PAGE_ALIGNED,
PAGE_ALIGN_DOWN macros. Use these macros to make code more
concise.

Signed-off-by: Yushan Zhou <katrinzhou@tencent.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/defrag.c
fs/btrfs/inode.c
fs/btrfs/lzo.c
fs/btrfs/relocation.c
fs/btrfs/send.c