From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1D79C433EF for ; Tue, 28 Jun 2022 07:28:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242029AbiF1H2W (ORCPT ); Tue, 28 Jun 2022 03:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243310AbiF1H2A (ORCPT ); Tue, 28 Jun 2022 03:28:00 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 614332CDF4 for ; Tue, 28 Jun 2022 00:27:57 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id g7so6693280pjj.2 for ; Tue, 28 Jun 2022 00:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=O7AN7zCw88CnfnIChdPaHJO6t2qn6tmZuT2O8QWFHSI=; b=eNTlJF/BtQg9WVGF2y+8VuOy3vNS4fH+PnrG0Z6DKkZ+UFAPgV+jkAhGiBF5nO25Up dbapw4GCwyfUcnVH+wabukYa7lPzjHx7ORUycC9B2VY5XMZAPTHZfcITdQprInKX9J63 TI1amqXY++6Gf+hHHvo5ZxgwqnM4pVy037p9uL0OsJ8VvKMh+xy4E43kY2/fbLqcyNAh M1oS3NsF+M80FXbrcfHCzhRhrubZ4M50rxjQK7m7TVQ6aUXZe845vKDw26ZXsrHtbWrq 7sE33wSRptssjVtZoIn67OBUeLtO4e5tVLU3TwhmeYcvB63hCTM+24H74Ie5nCGEs44l 5KlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=O7AN7zCw88CnfnIChdPaHJO6t2qn6tmZuT2O8QWFHSI=; b=BPK6lXHwhP7t3DXw2iklsMG5U5fcUicWXec7YLT/a46aIp4kxdI6TAluqAdfyxsYWM e7mzQouW8Qs2eERWGAOIHKYDvLDIESbx26QvXRMoKko1YRhcpenTB6IiAXOuFBWlBYFO B4B7p9PgxO8BXxAP+JUQaL3G5wYfrGStY+Ah0EtrVtmUfKLgQSzhnTKFuI4XHj4Pqz8p N8xVfCvNpuDAEdxm1CRqmHszw3ZYngFyvc2nKbc2Mdhv7SJS+WL/n02VTvmS11BKPv8j TnBY9xQbpEoSRohDyH2K0GSGx4/xqAo7h9mWlcLquYPkT68gwM5VVTGwFcnbQXfFNN7E L7pw== X-Gm-Message-State: AJIora8WbVQLtK6JOrP8KETuh8c2ctSsl0xBxvcaWq+uJZG64ENmECBC Lw+LuQM1S3uxC+kLgDoKmKYghxnYm/F2vjSa X-Google-Smtp-Source: AGRyM1vpRDk7C83YVdMc/cvyHuJucN0u+xGlkuoAOyEGfFxBjGZ5LFrV8J1bUv78B4U4X0rQdIi+mw== X-Received: by 2002:a17:90b:38c2:b0:1ed:474a:a668 with SMTP id nn2-20020a17090b38c200b001ed474aa668mr17414680pjb.201.1656401276991; Tue, 28 Jun 2022 00:27:56 -0700 (PDT) Received: from localhost ([139.177.225.245]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b0016a034ae481sm8467854plp.176.2022.06.28.00.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 00:27:56 -0700 (PDT) Date: Tue, 28 Jun 2022 15:27:51 +0800 From: Muchun Song To: Miaohe Lin Cc: akpm@linux-foundation.org, willy@infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] filemap: minor cleanup for filemap_write_and_wait_range Message-ID: References: <20220627132351.55680-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220627132351.55680-1-linmiaohe@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 09:23:51PM +0800, Miaohe Lin wrote: > Restructure the logic in filemap_write_and_wait_range to simplify the code > and make it more consistent with file_write_and_wait_range. No functional > change intended. > > Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Thanks.