Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1899748pxb; Wed, 20 Oct 2021 14:11:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOCZqX9UJHgYGAGAFOxQZgNp/wQK8gdH1mAYNulhHf8Zy2Sr6wip8JAwRYWs8vgSvH/itQ X-Received: by 2002:a17:907:3d9e:: with SMTP id he30mr2026112ejc.348.1634764268300; Wed, 20 Oct 2021 14:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634764268; cv=none; d=google.com; s=arc-20160816; b=Om5WSuaIL64flEok06RtXWN+aqm4tIDxrfrkCzQi5yVmdUb303mKSo3j65LWqAEaQc WnsfaLtcpS79whZLy1w+a0d2ICloN3weaAhiysZvfldiBn9LOXjkJcHcZM3haQ7qbeKe c20XXXHEgTY5gV5zpeYzTwAWdYm7WnSAR+DkPmURfYy+mUI55yRKwxp8WT8bVEE6m1z6 XT4iEa0z/3V+k+PEE15GcujdIdk5O10SoDbDtE8fKj40ESgpoN0mowL9f4k4wlCGAZ3e BjExT/9DzPCkFHJLBPsOViqOztXWUi/fvLW6vQlzVZ9P0zvnPhrGiDSIIPHSeS8wTqTH uGNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0Upl2CqhTTaM00XnpLoxyW/y8TEVonM+yQlK+1g9tkk=; b=YwNR+AH1AzNE1LHFAXCFMniQc4v3Ua7PaPb4jKDoEGYLMHZGK45wBH0e08IuPYe9aI 6/m/RQ4MIq1C0GfJB4ieAyR8yJ0xZ5wVcOgWZkNQpBGVKCSPpXRehplxLkf4H1CmwZUn m1+sSKB3dA8AQ5c5B1hfZfEQKu70nWO6AM96WsqCuDjGc/Yyidpdh9IyjzzQQoPauPpG s2qlzqjXjfv2uym4r1xZk/810tDWfE92O8kT/ep7VpqVDVnswNu/GtRRK8KYz2C33JWh lvRBfJQtvLxjfv8xF3eFq8dixDSmG20NvuiF0lZja0ETyflu8F4o/J0hWuyvL8E+uGgp VxMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WLzGSX3E; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp29si5351625ejc.435.2021.10.20.14.10.41; Wed, 20 Oct 2021 14:11:08 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WLzGSX3E; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231417AbhJTVK0 (ORCPT + 99 others); Wed, 20 Oct 2021 17:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbhJTVKU (ORCPT ); Wed, 20 Oct 2021 17:10:20 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7532DC06161C; Wed, 20 Oct 2021 14:08:05 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id g184so23617386pgc.6; Wed, 20 Oct 2021 14:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0Upl2CqhTTaM00XnpLoxyW/y8TEVonM+yQlK+1g9tkk=; b=WLzGSX3ENSUti+x/9HxR5yoXNlIjgCpOn4O6vgnTjn4Yi04LrO6SIIWK3dFKfB9EGd M7ynjmL+9UYppcrJrhQPZKNM2+w2TWZgeH6cSRvRVLOk9S4Rtm4/VANyJ45RFzCuxTig b2aJFdXT5F3AbVtWtJn5JR1/SDGwLFpCUGY/aBn1AAJQHf+cNVXmHQa8wKW5jJg0/0Ly cSznQwqrk9dIRHuh+JBgTOgKUDUGMRAaJBFOQbRvtE9WGvsrfPlmYAnn4yuXDM+IkPyZ WoR7zpd56cf0AgGhBNjpK1Ef9zwrvFkLnWoq5DtNhiZDJmHmeeB5rbbcl9ISI1shgE6a KFmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0Upl2CqhTTaM00XnpLoxyW/y8TEVonM+yQlK+1g9tkk=; b=Z1zu23p2RdXgdaLtCZpRDbEyOJZBHmDaC/90g+mNBB6t3iCwYTsZbpGAuRi7KlG2kY fkClJ08somj9XA1ehAhg2SvcR95oG+vdu22l/F/M5ySUn+yrY2ocLw0a68V8ZgT2x++T m0W8eNP0rIoPcsgSKhdpq/SeMM8iX47yHkU1iYRtGN7KtFP1tgZF0gnmCFxAt/++aePC vw3tdxitzXe+/lINuoJldkJFzm3LK0LW4h/TQHdZvbHQaFw1bijQ6aMIobrCsHKKNLal i8csgvP41XwuzfVi3iLmM1Mv9QIWpCBhnAW+/O+wdW/0quCNnYTVyxbMg2KDTtSC5cVf aSYw== X-Gm-Message-State: AOAM530uEZy4G38CZtoQZtjMmkEtU8RnuUOOJXvN5unBP7u5jhoMoko2 CanclBY2BSEl2KtJgBTlcGw= X-Received: by 2002:aa7:9099:0:b0:44c:a3b5:ca52 with SMTP id i25-20020aa79099000000b0044ca3b5ca52mr1619862pfa.85.1634764085050; Wed, 20 Oct 2021 14:08:05 -0700 (PDT) Received: from localhost.localdomain (c-73-93-239-127.hsd1.ca.comcast.net. [73.93.239.127]) by smtp.gmail.com with ESMTPSA id i8sm3403143pfo.117.2021.10.20.14.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 14:08:04 -0700 (PDT) From: Yang Shi To: naoya.horiguchi@nec.com, hughd@google.com, kirill.shutemov@linux.intel.com, willy@infradead.org, peterx@redhat.com, osalvador@suse.de, akpm@linux-foundation.org Cc: shy828301@gmail.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [v5 PATCH 3/6] mm: filemap: coding style cleanup for filemap_map_pmd() Date: Wed, 20 Oct 2021 14:07:52 -0700 Message-Id: <20211020210755.23964-4-shy828301@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211020210755.23964-1-shy828301@gmail.com> References: <20211020210755.23964-1-shy828301@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A minor cleanup to the indent. Reviewed-by: Naoya Horiguchi Signed-off-by: Yang Shi --- mm/filemap.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index dae481293b5d..2acc2b977f66 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -3195,12 +3195,12 @@ static bool filemap_map_pmd(struct vm_fault *vmf, struct page *page) } if (pmd_none(*vmf->pmd) && PageTransHuge(page)) { - vm_fault_t ret = do_set_pmd(vmf, page); - if (!ret) { - /* The page is mapped successfully, reference consumed. */ - unlock_page(page); - return true; - } + vm_fault_t ret = do_set_pmd(vmf, page); + if (!ret) { + /* The page is mapped successfully, reference consumed. */ + unlock_page(page); + return true; + } } if (pmd_none(*vmf->pmd)) { -- 2.26.2