Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1836309pxj; Sat, 22 May 2021 03:22:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX6ODZmzbpTXGRlk+XoduGAfFx12e1UZ1jmWxj2iIQpkWXFa8A9SfvvQMdqPNY/OfrdKLN X-Received: by 2002:a92:4446:: with SMTP id a6mr5070341ilm.9.1621678949374; Sat, 22 May 2021 03:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621678949; cv=none; d=google.com; s=arc-20160816; b=DTHMigZBteNRvwALBqyF9fGGloWUT06wd/eDIc1g5/nKuBRssR0mKBOQLOh/wFOtBC DpH1OcHliF+LI+4AF2YgQ/ZxSDqwnPkDlG7OruVXELwk/lBke/qL8PQf8+Uac3XWA+o3 7g1vFzIT8ZwifqpFIOMYKPKeJqe2Igs5uxiId+Gi0xD0UyZFhr2whSHAZKgPHPA48wAH TRh5aSGBs/xawrkn5eejBWCBgGF8fU996Q4f0wW65nlKJBj8IEjhKfd99zQ6bh1FOV7u lu1TjAblWcv6/aT5ukNeINqOjSbbDn63SqDWA+zbkOjcsf9GhvnGbfrhTLX6BhgbzX2y ApQg== 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 :message-id:date:subject:cc:to:from; bh=Z1tqTP9iALu5Dv8SCnzg1RAQoFL3DlEG8/zrOIKM4TI=; b=Sty2575irMTsaFyQ3k21wDkF3LaA9al9fY1/E60IUsVLZLHFG8Gmx8Iv5SWQalSFsx TqKB8S1L4pwWNgwaWcctPDP5NgCSiuo3K1XIHef6ifsFBgKW9HydqpI4uPIfaWT7OCr6 nSD9ZztkZO4Pv0Q9TSvj/nH6kMHFTmOtxwEiVIqa0VVzT5nLJQEDCaUFM2g36jTBaFp4 nCKMhSgSqqWwPqjYin3Ovn9ZdyfphVO8qqxFar0CivGPxM0UyGxHykKxjH1Py7yyyRzu bvrZys9X06VKWcka853NTP5b4yLGwAamr/lQoWO1SPWhTZzuD5pt8v/IYcChNFA0Y8as EBrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si8436826jat.63.2021.05.22.03.22.03; Sat, 22 May 2021 03:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbhEVKWk (ORCPT + 99 others); Sat, 22 May 2021 06:22:40 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3634 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230164AbhEVKWk (ORCPT ); Sat, 22 May 2021 06:22:40 -0400 Received: from dggems703-chm.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FnKD52LSXzQqwS; Sat, 22 May 2021 18:17:41 +0800 (CST) Received: from dggeme752-chm.china.huawei.com (10.3.19.98) by dggems703-chm.china.huawei.com (10.3.19.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sat, 22 May 2021 18:21:14 +0800 Received: from huawei.com (10.175.127.227) by dggeme752-chm.china.huawei.com (10.3.19.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 22 May 2021 18:21:13 +0800 From: Zhang Yi To: CC: , , , , Subject: [PATCH 0/2] ext4: fix two minor mistakes in ext4_es_scan() Date: Sat, 22 May 2021 18:30:43 +0800 Message-ID: <20210522103045.690103-1-yi.zhang@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme752-chm.china.huawei.com (10.3.19.98) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Fix two minor mistakes introduced by 1ab6c4997e04 ("fs: convert fs shrinkers to new scan/count API") in ext4_es_scan(). Zhang Yi (2): ext4: remove check for zero nr_to_scan in ext4_es_scan() ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit fs/ext4/extents_status.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.25.4