btrfs: unify extent buffer allocation api
authorDavid Sterba <dsterba@suse.cz>
Sun, 15 Jun 2014 01:20:26 +0000 (03:20 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 12 Dec 2014 17:26:55 +0000 (18:26 +0100)
Make the extent buffer allocation interface consistent.  Cloned eb will
set a valid fs_info.  For dummy eb, we can drop the length parameter and
set it from fs_info.

The built-in sanity checks may pass a NULL fs_info that's queried for
nodesize, but we know it's 4096.

Signed-off-by: David Sterba <dsterba@suse.cz>

No differences found