btrfs-progs: read global reserve size from space infos
authorDavid Sterba <dsterba@suse.cz>
Tue, 29 Apr 2014 15:57:01 +0000 (17:57 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 28 Aug 2014 00:03:33 +0000 (02:03 +0200)
commitda5db5596ca3dcdbc6edf3e79534c36610bf6fbb
tree5f9944db07c24c588c97b358a72188a2a1e58c51
parent5f1313a45d5ed89e7bb7efab3bb7b62a42b7b30f
btrfs-progs: read global reserve size from space infos

Kernels >= 3.15 export the global block reserve as a space info presented
by 'btrfs fi df' but would display 'unknown' instead of some meaningful
string.

Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-filesystem.c
ctree.h