On Mon, Aug 05, 2019 at 05:47:06PM +0300, Nikolay Borisov wrote: > The extent range check right after the "out_check" label is redundant, > because the only way it can trigger is if we have an inline extent. In > this case it makes more sense to actually move it in the branch > explictly dealing with inlines extents. What's more, the nested > 'if (nocow)' can never be true because for inline extents we always do > CoW and there is no chance 'noco' can be true, just remove that check. > > Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx>
