]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Replace opencoded sizes with their symbolic constants
authorNikolay Borisov <nborisov@suse.com>
Mon, 16 Oct 2017 13:48:40 +0000 (16:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:01 +0000 (12:28 +0100)
commita9067c714f05badd62f56eab09f2d3dfa7e1b895
treee9cc58012de6a8b32f260dc2c316da53306ca9ce
parentc69e83ef1c7b1f15861c42ae7badf9cefa9f1434
btrfs: Replace opencoded sizes with their symbolic constants

Currently btrfs' code uses a mix of opencoded sizes and defines from sizes.h.
Let's unifiy the code base to always use the symbolic constants. No functional
changes

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/super.c
fs/btrfs/tests/inode-tests.c