Ryusuke Konishi cfa913a507 nilfs2: add sanity check in nilfs_btree_add_dirty_buffer
According to the report titled "problem with nilfs_cleanerd" from
Łukasz Wójcicki, nilfs_btree_lookup_dirty_buffers or
nilfs_btree_add_dirty_buffer got memory violation during garbage
collection.

This could happen if a level field of given btree node buffer is
incorrect, which is a crucial internal bug.

This inserts a sanity check to figure out the problem.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2010-07-23 10:02:12 +09:00
..
2009-04-07 08:31:13 -07:00
2009-12-25 13:01:50 +09:00
2009-12-25 13:01:50 +09:00
2010-03-14 10:29:51 +09:00
2009-12-25 13:01:50 +09:00
2010-05-27 22:05:02 -04:00
2009-11-20 10:05:50 +09:00
2009-04-07 08:31:16 -07:00
2010-07-23 10:02:11 +09:00
2009-04-07 08:31:13 -07:00
2009-06-11 21:36:18 -04:00
2010-03-14 10:29:51 +09:00