Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2983794ybz; Mon, 27 Apr 2020 08:01:33 -0700 (PDT) X-Google-Smtp-Source: APiQypKzGcqwKuCbkzQtq7h9HDgTIy0w6NPzX1+UPyRVVuF1TL4FBGSk9RFcZyMmhZTLghPsxjIe X-Received: by 2002:a17:906:d0d2:: with SMTP id bq18mr19345073ejb.62.1587999692921; Mon, 27 Apr 2020 08:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587999692; cv=none; d=google.com; s=arc-20160816; b=InwpJhtke0Kkq9KOx7ChuKwgrluA9LMjqR4PrmQmHtYMK+4KdcDy0esukOt25ixLbf um8SBpGEwIIOjMZe7oQ4+obK7JoFR+FFC/acZ9YNJMwpXCdO12k4Ear/Dbkk5lOuY80c UPK+HUlBwHqV7mVN0fVn9DcKcHo2QoYeuO633YTZMP4NijG48O9Dtz72Ge3wJNFuOHsP OwnT3u4T6hZWLr1MVe47IIW+7uwkq6/MMkcg/9Cq7vUsQmNJ+IYEdOgb7qjK/tvDIiI7 5dWAkgga81AGQPhMkeTgCLc7BzVs/BE4rpU0Ibt4Uam90q7mVm2dBUg3IbrWlqQBRod6 2qDw== 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=DwpTnSItTAu+mgyPY+mszB/N/N3zPw/t1b1K6iA3acs=; b=o2Q/Fg1o/Cdxb6vdtn3vM5pnAb89d681m70cB4qNgEmzVxcklSbKuIlG7p/oeqYB9s rXlw6ectG9KlZEF+t46XrnqFh8aWfInU84OdXiQpUa6d/gZiCze+NCDWUIzoTI7XGEks FJ3mbY4/j9KVN2BLuCc6xUg6kSXpCdnm6+b6rcpXNDKyOhJJzg1tpeGvph4oJ0BCn2vv X6Fx+bmOH0qO0oyRv2t0uEcwcV1z1Br+nX0vZcN4HXfq3fuYH166aYjgSKijk59ixHtL eC+/PLSq1ZUoE+uqeTdoBk2k5gqO5h6iYOHwNmqVn82qRpTXwDPUKSxpFsmZcgkQHigB B1xw== 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 bq5si8794910ejb.356.2020.04.27.08.01.07; Mon, 27 Apr 2020 08:01:32 -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 S1728141AbgD0O4k (ORCPT + 99 others); Mon, 27 Apr 2020 10:56:40 -0400 Received: from verein.lst.de ([213.95.11.211]:48773 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbgD0O4j (ORCPT ); Mon, 27 Apr 2020 10:56:39 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5EF7C68C7B; Mon, 27 Apr 2020 16:56:37 +0200 (CEST) Date: Mon, 27 Apr 2020 16:56:37 +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 v3 5/9] loop: Remove figure_loop_size() Message-ID: <20200427145637.GE5490@lst.de> References: <20200427074222.65369-1-maco@android.com> <20200427074222.65369-6-maco@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200427074222.65369-6-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 Mon, Apr 27, 2020 at 09:42:18AM +0200, Martijn Coenen wrote: > This function was now only used by loop_set_capacity(), and updating the > offset and sizelimit is no longer necessary in that case. Just open code > the remaining code in the caller instead. Removing the now unused size update logic better fits into the previous patch I think. Otherwise looks good: Reviewed-by: Christoph Hellwig