Return-Path: Received: from mx2.suse.de ([195.135.220.15]:43287 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbdJPNuz (ORCPT ); Mon, 16 Oct 2017 09:50:55 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 562CEAAAD for ; Mon, 16 Oct 2017 13:50:54 +0000 (UTC) Date: Mon, 16 Oct 2017 15:49:08 +0200 From: David Sterba To: Goldwyn Rodrigues Cc: linux-btrfs@vger.kernel.org, Goldwyn Rodrigues Subject: Re: [PATCH v2] btrfs: cleanup extent locking sequence Message-ID: <20171016134908.GM3521@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20171016104321.19182-1-rgoldwyn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20171016104321.19182-1-rgoldwyn@suse.de> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, Oct 16, 2017 at 05:43:21AM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > Code cleanup for better understanding: > Variable needs_unlock to be called extent_locked to show state as opposed to > action. Changed the type to int, to reduce code in the critical > path. > > Signed-off-by: Goldwyn Rodrigues Reviewed-by: David Sterba