From: Nick Piggin 03e860bd9f 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 <npiggin@suse.de>
Cc: Chris Mason <chris.mason@oracle.com>
Acked-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-08-21 10:09:44 +02:00
..
2009-06-24 08:17:05 -04:00
2009-07-12 12:22:34 -07:00
2008-09-25 11:04:06 -04:00
2009-04-24 15:46:04 -04:00
2009-07-12 12:22:34 -07:00
2009-08-21 10:09:44 +02:00
2009-07-12 12:22:34 -07:00
2009-02-04 09:28:28 -05:00
2009-04-02 16:46:06 -04:00
2009-07-12 12:22:34 -07:00
2009-01-05 21:25:51 -05:00
2009-07-27 13:57:01 -04:00
2009-02-04 09:29:13 -05:00
2009-02-04 09:29:13 -05:00