diff options
author | 2018-01-05 10:47:07 +0800 | |
---|---|---|
committer | 2018-03-26 15:09:36 +0200 | |
commit | 7ef2d6a7228f54f337a6fcb2e40de41bcc826ef2 (patch) | |
tree | f3d14d5a083a3d04e1b3f9527071bda885a82ce3 /fs/btrfs/check-integrity.c | |
parent | btrfs: Add chunk allocation ENOSPC debug message for enospc_debug mount option (diff) | |
download | linux-dev-7ef2d6a7228f54f337a6fcb2e40de41bcc826ef2.tar.xz linux-dev-7ef2d6a7228f54f337a6fcb2e40de41bcc826ef2.zip |
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 'fs/btrfs/check-integrity.c')
0 files changed, 0 insertions, 0 deletions