diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-01-05 10:47:07 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:36 +0200 |
commit | 7ef2d6a7228f54f337a6fcb2e40de41bcc826ef2 (patch) | |
tree | f3d14d5a083a3d04e1b3f9527071bda885a82ce3 /include/soc | |
parent | 4117f207d4b0d85ab78fec9cb138ed9c2a4b9f20 (diff) | |
download | linux-7ef2d6a7228f54f337a6fcb2e40de41bcc826ef2.tar.bz2 |
btrfs: not a disk error if the bio_add_page fails
bio_add_page() can fail for logical reasons as from the bio_add_page()
comments:
/*
* This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or
* it's a cloned bio.
*/
Here we have just allocated the bio, so both of those failures can't
occur. So drop the check. We can also drop the error stats for write
error.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions