• J
    Btrfs: mark the bio with an error if we have a failure in dio · c0da7aa1
    Josef Bacik 提交于
    I noticed that dio_end_io calls the appropriate endio function with an error,
    but the endio functions don't actually do anything with that error, they assume
    that if there was an error then the bio will not be uptodate.  So if we had
    checksum failures we would never pass back EIO.  So if there is an error in our
    endio functions make sure to clear the uptodate flag on the bio.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    c0da7aa1
inode.c 197.3 KB