From: Liu Bo Date: Wed, 22 May 2013 12:06:51 +0000 (+0000) Subject: Btrfs: dont do log_removal in insert_new_root X-Git-Tag: v3.11-rc1~70^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd99c729433ed6ab8d02aa4760c6708a6c5de2a;p=pandora-kernel.git Btrfs: dont do log_removal in insert_new_root As for splitting a leaf, root is just the leaf, and tree mod log does not apply on leaf, so in this case, we don't do log_removal. As for splitting a node, the old root is kept as a normal node and we have nicely put records in tree mod log for moving keys and items, so in this case we don't do that either. As above, insert_new_root can get rid of log_removal. Signed-off-by: Liu Bo Signed-off-by: Josef Bacik --- Reading git-diff-tree failed