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 3D6CCE94116 for ; Tue, 30 Dec 2025 06:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Type:Content-Transfer-Encoding:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:References:To:MIME-Version:Date: Message-ID:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vwt7XF5WDclFEqhUB41MUUOpJAcTQFwg+jdH2+B4IVg=; b=kekG+cPs/NNHqY3n5vpVClIXZq 6laUAUFQIt8el2u22kFyHBHNJrqnYXgS367fFBL5ZdgQqKcYjTfCBWhrxZAarYsw8J/j9wWv05xHo U7IuFUT0R0HyTn4Y0UCr5nV9KYl1UG7MtAtvEXC436Oee0B0ahweytQ0EpPyuk/Reiss=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vaTa3-0002WK-4I; Tue, 30 Dec 2025 06:51:43 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vaTa1-0002W5-Pl for linux-f2fs-devel@lists.sourceforge.net; Tue, 30 Dec 2025 06:51:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: From:References:To:Subject:Cc:MIME-Version:Date:Message-ID: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=h5ER2xtR40XTSKe1lB254muH3HlJ4PUVzIRPuMrPjM0=; b=crPWbw0ugp9xIRm+jbXPG/Da0G xNLM2YQwzn0+oglh0OuklilaHd64M/Dhu+vqnz08GAtnWwVkHw26BKi9/GbN33AD89oJEbRWgKDh/ CJU0M2aH4Vjsp/JnG6bG8i6toMIsn7DgUm4Tz16RTnrPQhB4/e1d4MCf/PEWINwjGoj0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To: Subject:Cc:MIME-Version:Date:Message-ID: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=h5ER2xtR40XTSKe1lB254muH3HlJ4PUVzIRPuMrPjM0=; b=YNTmqxdgJ3oBmKPDLrGaLEPxS9 4bwFtTUcb+9AlVv+0Jz0Epg7t2JI3CjtlX+MgkBqy8PVQTqVLvl+IUzTHTOGNA2tgnyjFrQ2UU7yY 7lxIh3sBuIHu0D+6yZLH9z5FWP2wmptot/3TlmQk5nuF1P0tf/RfIobw0FQtQ66IRuQw=; 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 1vaTa2-0000FJ-5p for linux-f2fs-devel@lists.sourceforge.net; Tue, 30 Dec 2025 06:51:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id A17C16000A; Tue, 30 Dec 2025 06:51:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00A7FC4CEFB; Tue, 30 Dec 2025 06:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767077491; bh=QCFQ70Fr5frJi8Omz/8ACHo5fyRCwV9ykUEghqZZn6E=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=IX25NgdBs6e21ke2RzK0DVna2pwcQgm1zqtNtTBdpaU9P5dDV5HugMdpPs6Vb3LJH khNS/EuinqYMTHPeSEzlhtkYsMyyjMSMoroAH0fsmXVesKHJnAkTOfbwWNPY5uk0Yh A4JNB4BXr2ScMeoMy7pvHnA8QLchTed5ku/RiDli3sTxHsui6A98kaiaxtONqie6y4 u3+eFKmMbfzzZhsDLow+6uDRIydGbfVfdpNQ5Lrpk1M+7AAmiqu0LY54fqOEsndLYU vcX3NPSe97MYoZewt5Vduem7d1onBmSo9zWg+txW4U9ZnzOQ19yNbHhJC1M3hUIaZi AbL5d8svtnh3A== Message-ID: Date: Tue, 30 Dec 2025 14:51:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Yongpeng Yang , Jaegeuk Kim References: <20251227091906.216322-2-yangyongpeng.storage@gmail.com> Content-Language: en-US In-Reply-To: <20251227091906.216322-2-yangyongpeng.storage@gmail.com> X-Headers-End: 1vaTa2-0000FJ-5p Subject: Re: [f2fs-dev] [PATCH v2 1/2] f2fs: clean up the force parameter in __submit_merged_write_cond() 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: Chao Yu via Linux-f2fs-devel Reply-To: Chao Yu Cc: Yongpeng Yang , Yongpeng Yang , linux-f2fs-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 12/27/2025 5:19 PM, Yongpeng Yang wrote: > From: Yongpeng Yang > > The force parameter in __submit_merged_write_cond is redundant, where > `force == true` implies `inode == NULL && folio == NULL && ino == 0` is > true, and `force == false` implies `inode != NULL || folio != NULL || > ino != 0` is true. Thus, this patch replaces the force parameter with > a stack variable force. > > Signed-off-by: Yongpeng Yang Reviewed-by: Chao Yu Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel