From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com ([141.146.126.69]:30335 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932232AbdESA2G (ORCPT ); Thu, 18 May 2017 20:28:06 -0400 Date: Thu, 18 May 2017 17:25:53 -0700 From: Liu Bo To: David Sterba Cc: linux-btrfs@vger.kernel.org Subject: Re: [PATCH 03/10] btrfs: scrub: simplify cleanup of wr_ctx in scrub_free_ctx Message-ID: <20170519002552.GJ23822@lim.localdomain> Reply-To: bo.li.liu@oracle.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, May 16, 2017 at 07:10:29PM +0200, David Sterba wrote: > We don't need to take the mutex and zero out wr_cur_bio, as this is > called after the scrub finished. > > Signed-off-by: David Sterba Looks good. Reviewed-by: Liu Bo Thanks, -liubo