diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-02-27 15:14:31 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-02-27 15:14:31 +1100 |
commit | e0d2c23a253149b4f8a6100f94ca62ddc4b2ae84 (patch) | |
tree | bc122db2c8798f719e48a3713c0a2b9fb00b1a20 /lib/memory-notifier-error-inject.c | |
parent | 5ef11eb0700f806c4671ba33e5befa784a2f70ef (diff) | |
download | blackbird-op-linux-e0d2c23a253149b4f8a6100f94ca62ddc4b2ae84.tar.gz blackbird-op-linux-e0d2c23a253149b4f8a6100f94ca62ddc4b2ae84.zip |
xfs: skip pointless CRC updates after verifier failures
Most write verifiers don't update CRCs after the verifier
has failed and the buffer has been marked in error. These
two didn't, but should.
Add returns to the verifier failure block, since the buffer
won't be written anyway.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions