OSDN Git Service

btrfs: assume that bio_ret is always valid in submit_extent_page
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Jun 2017 17:22:55 +0000 (19:22 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:52 +0000 (01:26 +0200)
commit5c2b1fd7531d837bb9a6079d4e730a889b0e303d
tree5da44460121702c48d1f93478eaa91dd8e85148c
parent6ca1765b366e3a678e143de0decc3d1d39c15429
btrfs: assume that bio_ret is always valid in submit_extent_page

All callers pass a valid pointer so we can drop the redundant checks.
The call to submit_one_bio never happend and can be removed.

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