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)
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

Simple merge