Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp288717lqh; Sat, 4 May 2024 01:05:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeFHAr8p9InzMrfFps9t/g/KMx5ATuqWjGT/kD8jOG5XYZ6hGfCq21eDagzg2MJz+gOA1cj2+ZnXeyB3GSuNfkFNlIWsp3d56sScOcYg== X-Google-Smtp-Source: AGHT+IHZGEP3Hrs0HeGQoCIB3/yqs3V4YxrsBMwhe5vHiQbzyszwLKaq4fvegOK42rcBSkOrKMUy X-Received: by 2002:a05:620a:4245:b0:78d:61c2:4ee9 with SMTP id w5-20020a05620a424500b0078d61c24ee9mr6602832qko.26.1714809935584; Sat, 04 May 2024 01:05:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714809935; cv=pass; d=google.com; s=arc-20160816; b=Ln7MB5fJ1LPu0lNGDCtBlD2HEHFgeq6mAyGg9xDEu6qLWtZMeOxUjvGgRgLcZjoLOs V/IcoN5o5sCkCMZPCWsV3Tpcri0t4RRhiUiYfrtTwAbbW6OlxJeIJvUjWLeLK7LnoNle w/nAoYP6eC2qfTncDBV4r+KNxsdeKxoKUHpehcgrmiKy48CCoB70lvtLPSnN2j9Pl+ya kDz39oa+Dg7RYhAf9qq7/hSlBBhdX8O89dDxJwBJieoLF3hKW8vUdeu9SRKZZoNASXsO hIov4SxNZ2W1lGp4yCjzWRwZYezvSw9i2YDEpq1UaAAlSRGXuN65hBG/CDeRs7g1TsL6 JklA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=9T2n0FejRY9Jzzdu8g2U12vIzUy+30lAOXjVgkmMPgE=; fh=W75o7JcVP9WVde0MZ6OU45UgjsyGq0sHo+q9ZImAnmo=; b=CdpquQ355y+9n/sRs2uywyIoP7Ul5w9RNcx1oTpPzM03pbz1EsK3jWYWPRGFfKhwC8 NLEWavTHeZTHMtEb55yfqxBpJwBNnn31d5GnxFy+TSRp9VsUJ6W8qNwcS5Mk/DChbAyB 53rlN5vSbmSd5fNhyMqVwZvGcFvQ5RqjY59YUp5aBT5cfxOsRx0RkouAG7LlzHPLVzM2 559GB/NcD62w64nexZCOex4NZHwu1EpuEpcuO6HN+YwjuVgHKUfVt43yHLjSyNnj+qaO EeDwAuIXjrNI+ZUMVp3lxUqW6d1Fq+kuE26DyYQAGwTi+2ohIQNxbLj7o86wv918nAjp QuCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-ext4+bounces-2293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2293-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p5-20020a05620a22e500b00790f9cff1b1si4497751qki.591.2024.05.04.01.05.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 01:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-ext4+bounces-2293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2293-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FF2B1C21202 for ; Sat, 4 May 2024 08:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66027FBF0; Sat, 4 May 2024 08:05:28 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FDBA11182; Sat, 4 May 2024 08:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714809928; cv=none; b=ecIgG5tmiDkdURk4PFB/a776m4CVe5VbIXX8dIXXQwGbsTWlXYlqgTiuDzmhyXrl3iSHZl/ht8nwymPfX3JumLSmIa70kJs0Tbhd+rjk7E8Z4ZVhLGBVrFQ0oLqmGRRfC3sdTseKemvvBP+EzEJxkBWGZ1uPDFC/DY7lUGJcbjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714809928; c=relaxed/simple; bh=uyFGRGU+ZvIxQnooGd3ezhmnV4opWQZ8OsdOBFxGldc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=XkyxBJrh7W0Z5W31pTN9eivEW/nQaviOiKyB4s34PH1CT7+7t0zy0J5+Oq853klyfvYypMowCR9dWoRyb20XGMEUW+9YgQZfxglOd+oBc5iyPUNVad1rLh3qZeH7PlpzzoHvlG2CBmymFHFzephLDMwfj/dompHoeSYlFQI8mLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4VWgFf0h63z4f3jHb; Sat, 4 May 2024 16:05:10 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 47F071A0179; Sat, 4 May 2024 16:05:15 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgCXaBE57DVmKbDhLg--.23467S4; Sat, 04 May 2024 16:05:15 +0800 (CST) From: libaokun@huaweicloud.com To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, adilger.kernel@dilger.ca, jack@suse.cz, ritesh.list@gmail.com, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, yangerkun@huawei.com, libaokun@huaweicloud.com, Baokun Li Subject: [PATCH 0/2] ext4: fix WARNING in mb_cache_destroy Date: Sat, 4 May 2024 15:55:24 +0800 Message-Id: <20240504075526.2254349-1-libaokun@huaweicloud.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:cCh0CgCXaBE57DVmKbDhLg--.23467S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYS7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_JFC_Wr1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2js IEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE 5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeV CFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1l FIxGxcIEc7CjxVA2Y2ka0xkIwI1lw4CEc2x0rVAKj4xxMxAIw28IcxkI7VAKI48JMxC20s 026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_ JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14 v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xva j40_WFyUJVCq3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r 1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x0JUm2NtUUUUU= X-CM-SenderInfo: 5olet0hnxqqx5xdzvxpfor3voofrz/ From: Baokun Li Baokun Li (2): ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find() ext4: propagate errors from ext4_sb_bread() in ext4_xattr_block_cache_find() fs/ext4/xattr.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) -- 2.39.2