linux/fs/nilfs2
Ryusuke Konishi 9b945d537d nilfs2: get rid of BUG_ON use in btree lookup routines
The current btree lookup routines make a kernel oops when detected
inconsistency in btree blocks.  These routines should instead return a
proper error code because the inconsistency usually comes from
corruption of on-disk metadata.

This fixes the issue by converting BUG_ON calls to proper error
handlings.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2009-11-20 10:05:46 +09:00
..
alloc.c
alloc.h
bmap_union.h
bmap.c nilfs2: convert nilfs_bmap_lookup to an inline function 2009-09-14 18:27:16 +09:00
bmap.h nilfs2: convert nilfs_bmap_lookup to an inline function 2009-09-14 18:27:16 +09:00
btnode.c nilfs2: add zero-fill for new btree node buffers 2009-11-03 12:32:03 +09:00
btnode.h
btree.c nilfs2: get rid of BUG_ON use in btree lookup routines 2009-11-20 10:05:46 +09:00
btree.h
cpfile.c nilfs2: fix lock order reversal in chcp operation 2009-11-13 10:33:24 +09:00
cpfile.h nilfs2: remove individual gfp constants for each metadata file 2009-09-14 18:27:15 +09:00
dat.c nilfs2: add update functions of virtual block address to dat 2009-09-14 18:27:15 +09:00
dat.h nilfs2: add update functions of virtual block address to dat 2009-09-14 18:27:15 +09:00
dir.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
direct.c nilfs2: allow btree code to directly call dat operations 2009-09-14 18:27:16 +09:00
direct.h
file.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
gcdat.c
gcinode.c const: mark remaining address_space_operations const 2009-09-22 07:17:24 -07:00
ifile.c
ifile.h nilfs2: remove individual gfp constants for each metadata file 2009-09-14 18:27:15 +09:00
inode.c nilfs2: deleted inconsistent comment in nilfs_load_inode_block() 2009-11-15 17:17:46 +09:00
ioctl.c nilfs2: fix lock order reversal in chcp operation 2009-11-13 10:33:24 +09:00
Kconfig fs/Kconfig: move nilfs2 outside misc filesystems 2009-09-14 18:27:16 +09:00
Makefile
mdt.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
mdt.h nilfs2: remove individual gfp constants for each metadata file 2009-09-14 18:27:15 +09:00
namei.c const: mark remaining inode_operations as const 2009-09-22 07:17:24 -07:00
nilfs.h const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
page.c
page.h
recovery.c nilfs2: fix format string compile warning (ino_t) 2009-09-14 18:27:13 +09:00
sb.h
segbuf.c nilfs2: use GFP_NOIO for bio_alloc instead of GFP_NOWAIT 2009-09-14 18:27:14 +09:00
segbuf.h
segment.c nilfs2: fix irregular checkpoint creation due to data flush 2009-11-03 12:32:03 +09:00
segment.h
sufile.c
sufile.h nilfs2: remove individual gfp constants for each metadata file 2009-09-14 18:27:15 +09:00
super.c const: mark remaining export_operations const 2009-09-22 07:17:24 -07:00
the_nilfs.c fs: remove bdev->bd_inode_backing_dev_info 2009-09-16 15:16:18 +02:00
the_nilfs.h nilfs2: shorten freeze period due to GC in write operation v3 2009-09-14 18:27:15 +09:00