Return-Path: Received: from mx2.suse.de ([195.135.220.15]:60243 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753454AbdJMPHd (ORCPT ); Fri, 13 Oct 2017 11:07:33 -0400 Date: Fri, 13 Oct 2017 17:05:47 +0200 From: David Sterba To: Josef Bacik Cc: kernel-team@fb.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 11/21] btrfs: move ref_mod modification into the if (ref) logic Message-ID: <20171013150547.GW3521@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <1506714245-23072-1-git-send-email-jbacik@fb.com> <1506714245-23072-12-git-send-email-jbacik@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1506714245-23072-12-git-send-email-jbacik@fb.com> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Fri, Sep 29, 2017 at 03:43:55PM -0400, Josef Bacik wrote: > We only use this logic if our ref isn't a ref_head, so move it up into > the if (ref) case since we know that this is a normal ref and not a > delayed ref head. > > Signed-off-by: Josef Bacik Reviewed-by: David Sterba