]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae3a60e38d5db640d137915930288e195c4c22c0
treef50c94b736c15807ca4e70cd475a377623a715a1
parentef7fb0b505d97bf2dc98f8cbcca1ddec3661c20d
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