btrfs: fix mixed block count of available space
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Wed, 30 Mar 2016 20:53:38 +0000 (21:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 May 2016 13:22:49 +0000 (15:22 +0200)
commitae02d1bd070767e109f4a6f1bb1f466e9698a355
tree5ab2fcbd71eb2a8e6187543d2d16cf6ea2c80530
parent88be159c905a2b4f6d59afa352bef410afb6af02
btrfs: fix mixed block count of available space

Metadata for mixed block is already accounted in total data and should not
be counted as part of the free metadata space.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=114281
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c