]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Wrap extent block reads in a dedicated function.
authorJoel Becker <joel.becker@oracle.com>
Thu, 13 Nov 2008 22:49:16 +0000 (14:49 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:53 +0000 (08:36 -0800)
commit63b858aee85132a938e5888fe01f0d203ff4ab72
treece2e1d8819b6020567828ca9021438c0824aa8d4
parent0022f576b33f4d47efa508a5b914fe335f577c5a
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>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h
fs/ocfs2/extent_map.c
fs/ocfs2/ocfs2.h