btrfs: cleanup merging conditions in submit_extent_page
authorDavid Sterba <dsterba@suse.com>
Mon, 12 Jun 2017 18:00:43 +0000 (20:00 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:53 +0000 (01:26 +0200)
commit0c8508a6e7417e1bee3cb11a681184d907909549
tree609d69bd8bf1121267a63e97713f0541a52fcf46
parent8eec8296a086cf9949dc4b91494fc944778ba5a0
btrfs: cleanup merging conditions in submit_extent_page

The merge call was factored out to a separate helper but it's a trivial
one and arguably we can opencode it and cache the value.

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