diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-12-05 17:23:04 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 16:51:45 +0300 |
commit | fdb1e121803433775d1e6f79b21a13add8b22f57 (patch) | |
tree | 24a5c49ddc69436deea8d1892c36025de7f0c379 /tools/usb | |
parent | 7073017aeb98db311ca407f0f552f2bfc1af3015 (diff) | |
download | linux-fdb1e121803433775d1e6f79b21a13add8b22f57.tar.xz |
btrfs: use PAGE_ALIGNED instead of open-coding it
When using a 'var & (PAGE_SIZE - 1)' construct one is checking for a page
alignment and thus should use the PAGE_ALIGNED() macro instead of
open-coding it.
Convert all open-coded occurrences of PAGE_ALIGNED().
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions