btrfs: sink blocksize parameter to btrfs_find_create_tree_block
authorDavid Sterba <dsterba@suse.cz>
Sun, 15 Jun 2014 00:39:54 +0000 (02:39 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 12 Dec 2014 17:07:21 +0000 (18:07 +0100)
Finally it's clear that the requested blocksize is always equal to
nodesize, with one exception, the superblock.

Superblock has fixed size regardless of the metadata block size, but
uses the same helpers to initialize sys array/chunk tree and to work
with the chunk items. So it pretends to be an extent_buffer for a
moment, btrfs_read_sys_array is full of special cases, we're adding one
more.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/tree-log.c
fs/btrfs/volumes.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge