xfs: verify AGF blocks as they are read from disk
authorDave Chinner <dchinner@redhat.com>
Wed, 14 Nov 2012 06:44:56 +0000 (17:44 +1100)
committerBen Myers <bpm@sgi.com>
Fri, 16 Nov 2012 03:34:10 +0000 (21:34 -0600)
commit5d5f527d13369d0047d52b7ac4ddee4f8c0ad173
treebe5aa9ed00828ca05ace198a78eed422a5627cc1
parent98021821a502db347bd9c7671beeee6e8ce07ea6
xfs: verify AGF blocks as they are read from disk

Add an AGF block verify callback function and pass it into the
buffer read functions. This replaces the existing verification that
is done after the read completes.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_alloc.c