xfs: verify AGI blocks as they are read from disk
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Nov 2012 11:54:05 +0000 (22:54 +1100)
committerBen Myers <bpm@sgi.com>
Fri, 16 Nov 2012 03:34:12 +0000 (21:34 -0600)
commit3702ce6ed71cd60451ab278088863456dcb0dd99
treee7d4932f04525d0aeca38a4d7a88b628c34cd15e
parent5d5f527d13369d0047d52b7ac4ddee4f8c0ad173
xfs: verify AGI blocks as they are read from disk

Add an AGI block verify callback function and pass it into the
buffer read functions. Remove the now redundant verification code
that is currently in use.

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