diff options
author | From: Nick Piggin <[email protected]> | 2009-08-21 10:09:44 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2009-08-21 10:09:44 +0200 |
commit | 03e860bd9f6a3cca747b0795bed26279a8b420a0 (patch) | |
tree | 9a6e6fe663bfc5f01edac558433f314657c2eb67 /lib/flex_array.c | |
parent | df4ecf1524c7793de3121b2d4e5fc6bcc0da3bfb (diff) |
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 <[email protected]>
Cc: Chris Mason <[email protected]>
Acked-by: Yan Zheng <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions