commit | ac75a1f7a4af4dddcc1ac3c0778f0e3f75dc8f32 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Fri Mar 07 16:19:14 2014 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Fri Mar 07 16:19:14 2014 +1100 |
tree | ac44f40e109615cfda93e22fb79e8953f842393d | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 [diff] |
xfs: don't leak EFSBADCRC to userspace While the verifier routines may return EFSBADCRC when a buffer has a bad CRC, we need to translate that to EFSCORRUPTED so that the higher layers treat the error appropriately and we return a consistent error to userspace. This fixes a xfs/005 regression. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>