btrfs: Remove redundant bio_get/bio_set pair from submit_one_bio
authorNikolay Borisov <nborisov@suse.com>
Wed, 13 Dec 2017 08:25:39 +0000 (10:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:19 +0000 (16:08 +0100)
commitffc9c8dd7d5c902b31a3caae3e55f019a85c90ea
treef50c94b736c15807ca4e70cd475a377623a715a1
parentea057f6dafcb6d21dd2c8be0e45ba3979b98e2b3
btrfs: Remove redundant bio_get/bio_set pair from submit_one_bio

The bio is never referenced after it has been submitted so there is no
point in getting an extra reference.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c