linux/fs/nilfs2
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
..
alloc.c
alloc.h
bmap_union.h
bmap.c
bmap.h
btnode.c
btnode.h
btree.c nilfs2: add sanity check in nilfs_btree_add_dirty_buffer 2010-07-23 10:02:12 +09:00
btree.h
cpfile.c
cpfile.h
dat.c
dat.h
dir.c
direct.c
direct.h
file.c
gcdat.c
gcinode.c
ifile.c
ifile.h
inode.c
ioctl.c
Kconfig
Makefile
mdt.c
mdt.h
namei.c
nilfs.h nilfs2: sync super blocks in turns 2010-07-23 10:02:11 +09:00
page.c
page.h
recovery.c nilfs2: add missing error code in comment of nilfs_search_super_root 2010-07-23 10:02:11 +09:00
sb.h
segbuf.c
segbuf.h nilfs2: get rid of macros for segment summary information 2010-07-23 10:02:09 +09:00
segment.c nilfs2: do not update log cursor for small change 2010-07-23 10:02:11 +09:00
segment.h
sufile.c
sufile.h
super.c nilfs2: pass remount flag to parse_options 2010-07-23 10:02:12 +09:00
the_nilfs.c nilfs2: do not update log cursor for small change 2010-07-23 10:02:11 +09:00
the_nilfs.h nilfs2: do not update log cursor for small change 2010-07-23 10:02:11 +09:00