btrfs: write_dev_flush does not return ENOMEM anymore
authorAnand Jain <anand.jain@oracle.com>
Tue, 13 Jun 2017 09:32:29 +0000 (17:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:04 +0000 (18:26 +0200)
commit12b9bf0b942ecca695fe709ea754091918d88b01
treedd45e7c67f0431fabc307e90938eb9c6c6e6f2e2
parent170607ebd9c891d6765445434460065b2e73ca51
btrfs: write_dev_flush does not return ENOMEM anymore

Since commit "btrfs: btrfs_io_bio_alloc never fails, skip error handling"
write_dev_flush will not return ENOMEM in the sending part. We do not
need to check for it in the callers.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ updated changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c