Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp365174rdb; Mon, 29 Jan 2024 04:56:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvMMToAQkL6U8pd/GwXRbJPxzgiGd1dYXXU9GxWxqcTtCUNBLtOssF50YyU+ZJCaSmPfrv X-Received: by 2002:aa7:cccc:0:b0:55d:3888:8406 with SMTP id y12-20020aa7cccc000000b0055d38888406mr3657293edt.10.1706532998704; Mon, 29 Jan 2024 04:56:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706532998; cv=pass; d=google.com; s=arc-20160816; b=n0s/7b4kmeStPiT1UN8PXphkLffkhZBQmH/DEtkXNhIAmEy3Wl5IueW+puuL78riIF qWCOYWPu4hjWYI2yO/4m6PWXy/Qcr/ltIk0CeHaklEIjz+tiY16breGlXYYupPWsSlQA 8jHrbgmjm9Xs+tqNYHQDaqeK+wwY22uYoxY6gLL8zuFLAFXfETzkbS7hKJQGfBhGj/rd UIwVhCneLdMkSYzDy9PRmf27TDHvG3hhIP55Xa7Dd88aa2vrm9vesUIJSLd6RHr8CLcH L8UWMpQuvf98ebbKmXycC7K5/ybmgZ8kVISODQacpao5GgJLbsRyz+JbGzKk7gXT60zS OqzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date; bh=Wgrn7ehhZzT7XDm3PPzsk73AYC+R1L3bcS47dve1/DM=; fh=PVIbiSbybtQ8QTMI6dtje2ebUaRCDSFT478O74Ahobs=; b=NapgORd9risq5WJTl+GqRlsDRssYpbCBWj03rJd/sYXoQC+WFnyq6WK8a4CFt/epOn trI5iPJhVMWIBphY+hyVZwFq5eTVGzHPs6CgWC7d9D673QTB+pZcw94WJ8cBj+GbIZaC XmkGpMSdLv1WGEVsF1Z2X2gtZ40UN9bUSs20uIyKgAUZFElI5+dRvVVcG4qYOYrnhw3M S2CFfSfaZqaUYnOKGKtpAsQ1RqDwfRuOloPbQe2Xj468IMSKFl6U+YmJ7ALkEXknYvjo vcZaa4bvCaDsylPeHGiQB8wDfjG5HD+x5e+BKOF8g72+oJds9C0YZsZiFBoRSfoK4yuF NT6g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-42736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42736-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p14-20020aa7c88e000000b0055c20d5ffd8si3442167eds.401.2024.01.29.04.56.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:56:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-42736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42736-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D86FD1F22E26 for ; Mon, 29 Jan 2024 12:56:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00F7D64CFA; Mon, 29 Jan 2024 12:54:22 +0000 (UTC) Received: from zg8tndyumtaxlji0oc4xnzya.icoremail.net (zg8tndyumtaxlji0oc4xnzya.icoremail.net [46.101.248.176]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39DCF64CDD; Mon, 29 Jan 2024 12:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.101.248.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532861; cv=none; b=B382wpWUXEZOa9EiSvmS5Lr2QmAQaSu5T1KFFHj6dFPERB2m5ekbbtZBxpzjJnI/E3P9WqkH7T1XRtWCkc9QE91xYIpQJ6URGvn8h9gLgL/W4CAcZiOHXZ1YlNUOnx0xR6nzsXo8FNFRlT4gcyo7DApG9VkjJ+xm9vTZD9ymG/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532861; c=relaxed/simple; bh=Wgrn7ehhZzT7XDm3PPzsk73AYC+R1L3bcS47dve1/DM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=NIqcWU4e7b2AxLsoUdVWPUkYhIlFLUo2Hj1wdWuooZy+yR2jicLv96Uk3lz58H3MCjD/8S7jN4epZLfGLgG57jVddZ9y9E7ZVncQ+IyQPqIvTp1fbsWrA/ZQzOBL6+mRYFzeZHgAAZTwWqV8FpL+ZFXvNRsIRl3rxL3T+In/sV0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn; spf=pass smtp.mailfrom=zju.edu.cn; arc=none smtp.client-ip=46.101.248.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zju.edu.cn Received: from alexious$zju.edu.cn ( [10.190.77.58] ) by ajax-webmail-mail-app4 (Coremail) ; Mon, 29 Jan 2024 20:54:02 +0800 (GMT+08:00) Date: Mon, 29 Jan 2024 20:54:02 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: alexious@zju.edu.cn To: "Viacheslav Dubeyko" Cc: "Andrew Morton" , "Desmond Cheong Zhi Xi" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hfs: fix a memleak in hfs_find_init X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.4-cmXT5 build 20231205(37e20f0e) Copyright (c) 2002-2024 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: References: <20240122172719.3843098-1-alexious@zju.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <38fd9f3.214a.18d5548ac0c.Coremail.alexious@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:cS_KCgB3dYXqn7dlRrnDAA--.14989W X-CM-SenderInfo: qrsrjiarszq6lmxovvfxof0/1tbiAgAPAGW2oGMXhwABsM X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= PiA+IE9uIDIyIEphbiAyMDI0LCBhdCAyMDoyNywgWmhpcGVuZyBMdSA8YWxleGlvdXNAemp1LmVk dS5jbj4gd3JvdGU6Cj4gPiAKPiA+IFdoZW4gdGhlIHN3aXRjaCBzdGF0bWVudCBnb2VzIHRvIGRl ZmF1bHQgYW5kIHJldHVybiBhbiBlcnJvciwgcHRyIHNob3VsZAo+ID4gYmUgZnJlZWQgc2luY2Ug aXQgaXMgYWxsb2NhdGVkIGluIGhmc19maW5kX2luaXQuCj4gPiAKPiAKPiBEbyB5b3UgaGF2ZSBh bnkgbWVtb3J5IGxlYWtzIHJlcG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