commit | 5e96581a377fc6bd76e9b112da9aeb8a7ae8bf22 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Thu Nov 13 14:49:16 2008 -0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Jan 05 08:36:53 2009 -0800 |
tree | ce2e1d8819b6020567828ca9021438c0824aa8d4 | |
parent | 4203530613280281868b3ca36c817530bca3825c [diff] |
ocfs2: Wrap extent block reads in a dedicated function. We weren't consistently checking extent blocks after we read them. Most places checked the signature, but none checked h_blkno or h_fs_signature. Create a toplevel ocfs2_read_extent_block() that does the read and the validation. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>