From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D7C36CAC5B8 for ; Thu, 2 Oct 2025 20:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:In-Reply-To:References:Date:Message-Id: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=H+JE0YaeyvR5iAnYbvBI/ChNKHMUZbIONxgyL9ZZU74=; b=f9V0uaBK4JDb1NJCuH9gmGCtTE 1jUA5GD7k+8KrhWGmAp28KZ4eylotRKEcVWFdvmpLQmNCdJ4SsN7hvfZlzGfte8DcMPuKfjsoifYP kW/y8QEiH+G6GGPf8dZth80NfO7pOJlqX4AX4mbeAUNFn15axF5qMskX+6F0lLFIJnGA=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1v4QG1-0002pH-4M; Thu, 02 Oct 2025 20:50:33 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1v4QFv-0002p5-SE for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Oct 2025 20:50:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rKDM34Xgle42j7CRHCEHvleWkLtA/uvFKmHh9gDL6W0=; b=moDuhTCSq5p4h6IMHpxbKml6v3 M6KS7XXU7r9WnAxVH1GUdr+dAFIq8J0DuSsXBv0VHv83V5mB8Qmh992m0E1TavgB5ShLWQy92k9Uv HDEM7ZQPR3qaBsFi/GQZBJPU5tdijMtavjbkZHtYi3iG6BNGDTD8lXEiJwESlM+Mr9qI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rKDM34Xgle42j7CRHCEHvleWkLtA/uvFKmHh9gDL6W0=; b=CsWOwaKvLc7GAmgxcOGfEFdWq7 2mgnO4lfvVBXSpeVj0nWMiOGd7ienp/YpCA5sRKXRs6e3V0TclZcDqiDpW5Rvn0SQ91Lsqoa0kfTf CCVNNGZdXkv+/nOAc5LNQKjxj8Usvk7S+rbm2NrkqZIQX2ZvKs1e+BYoIW6x31qD1oqU=; Received: from tor.source.kernel.org ([172.105.4.254]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1v4QFv-0006ww-AS for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Oct 2025 20:50:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id B7B9063EE6; Thu, 2 Oct 2025 20:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 682DCC4CEFA; Thu, 2 Oct 2025 20:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759438216; bh=EXhKnU3EDHpJYtT4b6I9iscaUcjmn1BwkTdxsF58duI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lFwMJG3Ap/dfw78C5j55wWJzhX+v6JR0pMgVsu9zW59cVqn/ohJlWUo0AloogtP99 BWTplnBM8DsaVZ17yveyb9Q1q6MQ7saVAVXyW80qy7DazRagQgUL6VXQQB3a3j5CW1 hWYeAjkpozBHH4hr+g2pZEroVJYkGsf2ldfNOzeT/zcKbMSmz5d5cg3iY7tk6Aey6s syY9OgF1iGlY05jZ14SbjFnZowEsy9sloSURiEp6wugZyXuwZF8y3GIKzOLfOhM67n oGZQNSzF5nYylq5invIAx22r5oEfWMGJEaa+BVFFJpD8gy8tG6RDMvvniVCXhjDx+T FqBpJ5yFIQ/ig== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7102039D0C1A; Thu, 2 Oct 2025 20:50:09 +0000 (UTC) MIME-Version: 1.0 Message-Id: <175943820824.3449937.3681276954916769253.git-patchwork-notify@kernel.org> Date: Thu, 02 Oct 2025 20:50:08 +0000 References: In-Reply-To: To: Haofeng Li <920484857@qq.com> X-Headers-End: 1v4QFv-0006ww-AS Subject: Re: [f2fs-dev] [PATCH] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: 13266079573@163.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, jaegeuk@kernel.org, lihaofeng@kylinos.cn Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 30 Sep 2025 17:16:21 +0800 you wrote: > From: Haofeng Li > > Fixes a memory leak issue in f2fs_move_inline_dirents() where > the ifolio is not properly released in certain error paths. > > Problem Analysis: > - In f2fs_try_convert_inline_dir(), ifolio is acquired via f2fs_get_inode_folio() > - When do_convert_inline_dir() fails, the caller expects ifolio to be released > - However, in f2fs_move_inline_dirents(), two specific error paths don't release ifolio > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path https://git.kernel.org/jaegeuk/f2fs/c/9fc1840e0217 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DFA67299AAF for ; Thu, 2 Oct 2025 20:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759438217; cv=none; b=VJUUZFcOL3AlrdChkx00tNIlWSTYi/hSrLZp+4eYXYD1L2syzAECrWXERQ+aF+4fw9PJDy3etPzxgEv3njoWHutPEVgnO3Ggt5ZavSthJp9PTe67rbkftKFVKc4mrNHT2h2SEOjXl/7orJRGAw6+a1+pEdyGO7D/GRb9gZn4maM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759438217; c=relaxed/simple; bh=EXhKnU3EDHpJYtT4b6I9iscaUcjmn1BwkTdxsF58duI=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=ftdlbwc4XTPtGgFk9UtzjbqA5j3s9F72Vy8fUzkvYqm2EemCgDFHt+OAQRjnmLiuH7HwPN2LWx2papS2/8JJ44PWdTf5js7C/DQsof8s+lATH7J6VNBhZMLk9CI1QhpwR5FxdPffh1S3l25sVlcIUyy99822q5Qtbv/2B0lPZfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lFwMJG3A; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lFwMJG3A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 682DCC4CEFA; Thu, 2 Oct 2025 20:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759438216; bh=EXhKnU3EDHpJYtT4b6I9iscaUcjmn1BwkTdxsF58duI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lFwMJG3Ap/dfw78C5j55wWJzhX+v6JR0pMgVsu9zW59cVqn/ohJlWUo0AloogtP99 BWTplnBM8DsaVZ17yveyb9Q1q6MQ7saVAVXyW80qy7DazRagQgUL6VXQQB3a3j5CW1 hWYeAjkpozBHH4hr+g2pZEroVJYkGsf2ldfNOzeT/zcKbMSmz5d5cg3iY7tk6Aey6s syY9OgF1iGlY05jZ14SbjFnZowEsy9sloSURiEp6wugZyXuwZF8y3GIKzOLfOhM67n oGZQNSzF5nYylq5invIAx22r5oEfWMGJEaa+BVFFJpD8gy8tG6RDMvvniVCXhjDx+T FqBpJ5yFIQ/ig== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7102039D0C1A; Thu, 2 Oct 2025 20:50:09 +0000 (UTC) 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 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path From: patchwork-bot+f2fs@kernel.org Message-Id: <175943820824.3449937.3681276954916769253.git-patchwork-notify@kernel.org> Date: Thu, 02 Oct 2025 20:50:08 +0000 References: In-Reply-To: To: Haofeng Li <920484857@qq.com> Cc: jaegeuk@kernel.org, chao@kernel.org, lihaofeng@kylinos.cn, 13266079573@163.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 30 Sep 2025 17:16:21 +0800 you wrote: > From: Haofeng Li > > Fixes a memory leak issue in f2fs_move_inline_dirents() where > the ifolio is not properly released in certain error paths. > > Problem Analysis: > - In f2fs_try_convert_inline_dir(), ifolio is acquired via f2fs_get_inode_folio() > - When do_convert_inline_dir() fails, the caller expects ifolio to be released > - However, in f2fs_move_inline_dirents(), two specific error paths don't release ifolio > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix ifolio memory leak in f2fs_move_inline_dirents error path https://git.kernel.org/jaegeuk/f2fs/c/9fc1840e0217 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html