diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-10-10 22:58:10 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-20 10:05:46 +0900 |
commit | 9b945d537db86557e5b5820b4b52df94c35b3829 (patch) | |
tree | 84f041ec97f26d79709e93623f75371f6449d7ef /include/linux/nilfs2_fs.h | |
parent | 648f4e3e50c4793d9dbf9a09afa193631f76fa26 (diff) | |
download | blackbird-obmc-linux-9b945d537db86557e5b5820b4b52df94c35b3829.tar.gz blackbird-obmc-linux-9b945d537db86557e5b5820b4b52df94c35b3829.zip |
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>
Diffstat (limited to 'include/linux/nilfs2_fs.h')
0 files changed, 0 insertions, 0 deletions