From: From: Nick Piggin Date: Fri, 21 Aug 2009 08:09:44 +0000 (+0200) Subject: btrfs: fix inode rbtree corruption X-Git-Tag: v2.6.31-rc7~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e860bd9f6a3cca747b0795bed26279a8b420a0;p=pandora-kernel.git btrfs: fix inode rbtree corruption Node may not be inserted over existing node. This causes inode tree corruption and I was seeing crashes in inode_tree_del which I can not reproduce after this patch. The other way to fix this would be to tie inode lifetime in the rbtree with inode while not in freeing state. I had a look at this but it is not so trivial at this point. At least this patch gets things working again. Signed-off-by: Nick Piggin Cc: Chris Mason Acked-by: Yan Zheng Signed-off-by: Jens Axboe --- Reading git-diff-tree failed