From: Miao Xie Date: Thu, 28 Feb 2013 10:04:33 +0000 (+0000) Subject: Btrfs: fix wrong reserved space in qgroup during snap/subv creation X-Git-Tag: v3.9-rc1~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c1207017cd8387b4d3224dd7ab6cf5cd7f1c9a;p=pandora-kernel.git Btrfs: fix wrong reserved space in qgroup during snap/subv creation There are two problems in the space reservation of the snapshot/ subvolume creation. - don't reserve the space for the root item insertion - the space which is reserved in the qgroup is different with the free space reservation. we need reserve free space for 7 items, but in qgroup reservation, we need reserve space only for 3 items. So we implement new metadata reservation functions for the snapshot/subvolume creation. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed