Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp451649rdb; Mon, 29 Jan 2024 07:19:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZ2UQbLbpvGqsgYclbzSNms5+dN5fpOzs4OP+5ZBTvUYAsZN346y+2Ke9oumMusNtL8W31 X-Received: by 2002:ac8:5891:0:b0:42a:ad63:6c52 with SMTP id t17-20020ac85891000000b0042aad636c52mr806751qta.44.1706541549062; Mon, 29 Jan 2024 07:19:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706541549; cv=pass; d=google.com; s=arc-20160816; b=iX7W8GUYenIhsjw0pb9G37rFSQZQhYXypnUlTsMCJiHBEZstmvPASesXzer75GyISi 1bndzZ05oRe5legqHyJ4OCWF+nC/niz1LnOKP93DLrERq5nd/oznOszW3cRWf2vGBopw HHaopKu2ZPuEG83qkHmm8oHv33YieuqimR/dn691G4D47cWDgSp52c9eoE76y4YSwY5a YjL2qIOMXpThmXDSjVtKNWDYzhK4PqmPpvq5F/9DlsyY4mGLD06FjLuhpNMNEC4LqfW2 rvbGXTu2BYHSlVuxL70Ldq5m28XgEbYBzdmgxinEkJMlHKGfidOVeKl3nbh+aR0YAaS/ Ynnw== 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=+e4MeMpVtatRr9w5a834UwxLCgYT7m+gxxbS5zk3y0M=; fh=PVIbiSbybtQ8QTMI6dtje2ebUaRCDSFT478O74Ahobs=; b=dachcuk/AMe9Iwsxl5bshbVDNhVrqartzs4IOvCVHLkOg0ryko358egpWv7VKBOcg0 WXKTl3CsZUebowpZSHai2SjwsIE4Cwp8wOkLOa6MRbr+nPzdjZid51VgEmygOhAa3TtE xO7UsXLTo6YOrYrkhpcsqp7UAgEBg19NYtmX9yuvOy9S8ZDERXa65q7uMeMdFPSQ7lAw 2hIm/YzQTWOYWba/jkueEZw6+HOLaabqN+SOA0Fqp+ZLqGX0V+UFNbBjD4LENf7rfAjz qIbTGze0jBdWlse12Q/YLL2RMB2C61+1IelV4XupntbsHmASmqYhNCEfYWWFMkWGT59c YRqQ== 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-42982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42982-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y6-20020a05622a004600b0042a831a4e67si7341664qtw.567.2024.01.29.07.19.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 07:19:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-42982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42982-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 CF2E61C22EEA for ; Mon, 29 Jan 2024 15:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33EFB155311; Mon, 29 Jan 2024 15:17:46 +0000 (UTC) Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.231.56.155]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13974153BD9; Mon, 29 Jan 2024 15:17:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=20.231.56.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541465; cv=none; b=Kvh5439OV1CkxPO6rBmSb8mDrY+0vW6t3DfsbE2J+20GNAP7M5U65d458urUPCxYJ7kMMvlRs9RNobqdkbCs4HBh83QkeKtdeXtJg2t5OaXml0OW/T0I8FJLzPhzvUb/8L8D2veqJHjkOrtDa3eb1LQ9O7un1IpbcfnCXckuQnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541465; c=relaxed/simple; bh=+e4MeMpVtatRr9w5a834UwxLCgYT7m+gxxbS5zk3y0M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=gOZuWGajQBoNU1NNqU4+VAkbRgtJH9ZHV9f2mJtfTykAVsknkgXsOwcRB06JoOwuYGoq3F98/5eoh6S50bYaRbPqmfMS5zp4uDXfkcTumyepShphtkzPEE3EQLoP79nXRClYuDegY54Z3KjeRYsBMNhYr6vULQdtMiE1JIaVgzw= 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=20.231.56.155 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 23:17:28 +0800 (GMT+08:00) Date: Mon, 29 Jan 2024 23:17:28 +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> <38fd9f3.214a.18d5548ac0c.Coremail.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: <44665a1c.22c9.18d55cbff19.Coremail.alexious@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:cS_KCgB3k4KJwbdl8s7EAA--.15305W X-CM-SenderInfo: qrsrjiarszq6lmxovvfxof0/1tbiAg4PAGW2oGMdygABsF X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= PiA+IE9uIDI5IEphbiAyMDI0LCBhdCAxNTo1NCwgYWxleGlvdXNAemp1LmVkdS5jbiB3cm90ZToK PiA+IAo+ID4+PiBPbiAyMiBKYW4gMjAyNCwgYXQgMjA6MjcsIFpoaXBlbmcgTHUgPGFsZXhpb3Vz QHpqdS5lZHUuY24+IHdyb3RlOgo+ID4+PiAKPiA+Pj4gV2hlbiB0aGUgc3dpdGNoIHN0YXRtZW50 IGdvZXMgdG8gZGVmYXVsdCBhbmQgcmV0dXJuIGFuIGVycm9yLCBwdHIgc2hvdWxkCj4gPj4+IGJl IGZyZW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