From: Yan, Zheng Date: Mon, 21 Sep 2009 19:56:00 +0000 (-0400) Subject: Btrfs: do not reuse objectid of deleted snapshot/subvol X-Git-Tag: v2.6.32-rc1~57^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a8a7c8c47e542b3cdb45bec3f431f96af79361;p=pandora-kernel.git Btrfs: do not reuse objectid of deleted snapshot/subvol The new back reference format does not allow reusing objectid of deleted snapshot/subvol. So we use ++highest_objectid to allocate objectid for new snapshot/subvol. Now we use ++highest_objectid to allocate objectid for both new inode and new snapshot/subvolume, so this patch removes 'find hole' code in btrfs_find_free_objectid. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed