]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a8f0414dfa367d4571a9a22bf6d6a9136030a54
treee7d4932f04525d0aeca38a4d7a88b628c34cd15e
parent76d3952df8d77cc26af8f1b583337e8d73220bcc
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