nilfs2: verify btree node after reading
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 16 Jul 2010 14:52:40 +0000 (23:52 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 23 Jul 2010 01:02:13 +0000 (10:02 +0900)
commit1d5385b9f30ae43209459db424416a3e1d8f2bde
tree202a19586853da9ec598645b5d289d4a0164b232
parentcfa913a5077f7619869b2b4d1bf23ccb4f8b3d7b
nilfs2: verify btree node after reading

This inserts sanity checks soon after read btree node from disk.  This
allows early detection of broken btree nodes, and helps to narrow down
problems due to file system corruption.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/btree.c
fs/nilfs2/btree.h
fs/nilfs2/gcinode.c