Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp945777ybz; Wed, 22 Apr 2020 10:42:30 -0700 (PDT) X-Google-Smtp-Source: APiQypI1dlxsic+nPwHanvlJtFFFfZ22x+1ot0MtoJq/LW8h7Fpgf7KCvkci+CSrXaSVbrGZwk33 X-Received: by 2002:a17:906:1804:: with SMTP id v4mr27784050eje.104.1587577349994; Wed, 22 Apr 2020 10:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587577349; cv=none; d=google.com; s=arc-20160816; b=hDcTvLDMM5f4egIc7CCuwHZoHqDxZWG0u8uRQMQdNEBUvJyI+jGlySXjDzBm9ilawI FLWfVJgIgf8AezR9pq3hnE9/jhmAXQBPNJsPfzHj/msyN6LrIHNzXATUNHV9j3hF0i7a O5DsnW+/YXYUkSKnvf+ZyKVGFBlvtKGuhY6UuUGSASH75ML7g5i7ZoT52rYgXZEDBpv1 JDTIiAQGpsh+tyUBWudr+cKvu6jEdA4tvb7wMmEU6mjj0xoR023GILszCZnz8fQO6qUg 0n31GziAGdc/VLCkguIiQUIR8SlLWQr2T67JQxUWrr6WKsIa8Ggchmqf431dRQpeAWJX s1PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=F7Fz5B7QyWfJ7BMvA8A7K17zC/fkOtLB/ZgLfjWdxEU=; b=OXmYO1ZzFTATjVbi74mOxjCa5YDzQlR12wrjOG05IhS+fRoNoQG1eJP4OvZEbISBLe saGz+8HJXehWJUwV0I4QvjtwJpqeNO2VL34xp57DSVR+TTwFHZ3ntwAT6Q3SiBD5+WUc gRInWoS+ApYbLrCZCVVQ0cYVNvz2EuEUboRNs8wfzhq+Zz1u4QyUw/+g+7CCFUJiONT3 xp64zg9Yhagdiwaa6EBD+r3ueiyoShqoRlwmC78ZnnwbYhPld6EaOa27a8QIDPvBcCei DRPyjhKlSz5wEo03j2NYV70zWxbUXBHCvhKlBPtkqhX6M2NyNqWC/9pTc5V7wnPDcSfs bRnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si3793835edf.435.2020.04.22.10.42.06; Wed, 22 Apr 2020 10:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726797AbgDVRk3 (ORCPT + 99 others); Wed, 22 Apr 2020 13:40:29 -0400 Received: from verein.lst.de ([213.95.11.211]:53911 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbgDVRk2 (ORCPT ); Wed, 22 Apr 2020 13:40:28 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id A5B8C68CEC; Wed, 22 Apr 2020 19:40:26 +0200 (CEST) Date: Wed, 22 Apr 2020 19:40:26 +0200 From: Christoph Hellwig To: Martijn Coenen Cc: axboe@kernel.dk, hch@lst.de, ming.lei@redhat.com, narayan@google.com, zezeozue@google.com, kernel-team@android.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, maco@google.com, bvanassche@acm.org, Chaitanya.Kulkarni@wdc.com, jaegeuk@kernel.org Subject: Re: [PATCH v2 2/5] loop: Factor out configuring loop from status Message-ID: <20200422174026.GB30852@lst.de> References: <20200422100636.46357-1-maco@android.com> <20200422100636.46357-3-maco@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422100636.46357-3-maco@android.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 12:06:33PM +0200, Martijn Coenen wrote: > Factor out this code into a separate function, so it can be reused by > other code more easily. > > Signed-off-by: Martijn Coenen Looks good, Reviewed-by: Christoph Hellwig