btrfs: use named constant for bdev blocksize
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Jun 2017 23:48:05 +0000 (01:48 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:04 +0000 (16:12 +0200)
commit9f6d251033bc5bd0115c23fae8b6aac5f6263c2c
treeae3c17550189c0f83634bd65d2586030a5c90d2d
parentabbb3b8ebfec577390873d33076d56bc6e758939
btrfs: use named constant for bdev blocksize

Superblock is read and written using buffer heads, we need to set the
bdev blocksize. The magic constant has been hardcoded in several places,
so replace it with a named constant.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/volumes.c