xfs: don't verify buffers after IO errors
authorDave Chinner <dchinner@redhat.com>
Wed, 27 Feb 2013 02:25:54 +0000 (13:25 +1100)
committerBen Myers <bpm@sgi.com>
Thu, 7 Mar 2013 18:31:02 +0000 (12:31 -0600)
commitd5929de8337fef46f3e307914ed0f3cb845e66c1
treea305ce6faa2c04b8a29801e9a04e6772b63caaf0
parente8108cedb1c5d1dc359690d18ca997e97a0061d2
xfs: don't verify buffers after IO errors

When we read a buffer, we might get an error from the underlying
block device and not the real data. Hence if we get an IO error, we
shouldn't run the verifier but instead just pass the IO error
straight through.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf.c