Fixes btrfs sizing (ported from master). Thanks to Skinner.