Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp602303rdb; Thu, 8 Feb 2024 15:42:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSxEdmwLxtoMHbDOITOdUlAB3FBXeXyXXguHUPBeRWz22R/7Qr5SnBVi2UwdP2i+ah6Ugn X-Received: by 2002:a17:906:f18d:b0:a36:3806:8911 with SMTP id gs13-20020a170906f18d00b00a3638068911mr647596ejb.43.1707435744689; Thu, 08 Feb 2024 15:42:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707435744; cv=pass; d=google.com; s=arc-20160816; b=AQHB8AgVW4oGkNLa/w6BGd/muy4uuywFk7JIaqMpmynA8pDTofGp+j8Y10WYWR2B0U rHjhI7qjeqLbRaejBYZB6QJ5Wb/rnyRmTlzJynXdj6YIo2OPgH/5nCW+8J6bVhrI82u1 nYbKwcW/RR8Fnr1OcuBk23naREv2ePY0GFXV8XK067tdu4eoZ9EgtnKoChunweUQQa8/ XvNiteErEataYySFx4V4uI0Gl2zsQxlECeW0oXJrB5uiGRpNtPtEHCqZ5TfZuWaWv16+ Emx7qVWrU5uJaJbmQ3/Pp6axtPPgpna1rqZ2LHHzra9nm19mRwXjzP1DGIKRoQ6zzYAe s99A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=ZZiiegM7PF++Kh3B/i8FEGxTfjlrsK/aIzj7asFO6Fw=; fh=jKHcRBr6e8JdEWErKjGHcN8uaSpo5q3ZbQMk+XeMFhY=; b=z7JCDSjtVARPYUp6fu95oxNUyBwrAY2+/E+B/qxm34j87TzOi2As5kC3EAWkBtXZbB oWDn7AUyahkZehNIL/BbBZwQmuMOxt2AB8IJVTNueOg7FGg10EkUSKwAXPZID9UMm+Tq d/2sjAfbfh+SyTn2oapLXRPYsHNUvBnFRQZAk+nsD//Rh9WBV0RNXsWGsxtvrRHjU004 r28IUVRdmpuxJJJiEO3h/kdPYWobm7/i8W6rhQEqBZ+A73SNwIjP4L9T8IAbIRFHYTQs gwenCTOd/Ef5vxA2jtsnU3oLdQrmWNlDXzu23gQ3AsGlJTOAVES5zI2gGQC7R1rKUCNZ PTGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Q3Pgy5m/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXYdHiKYiRdis/kafCp8nNN+mc3OOniWWEBB+6bCGjWG/EiAor9reJ5MHmXHMsVWJTrb6+cMc7Z95MnaFHA+HIemvx/G0xThQgY88qLxw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q9-20020a170906360900b00a388c8f267asi151647ejb.731.2024.02.08.15.42.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 15:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58618-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; dkim=pass header.i=@intel.com header.s=Intel header.b="Q3Pgy5m/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 045F71F25B50 for ; Thu, 8 Feb 2024 19:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BA0A3771F; Thu, 8 Feb 2024 19:26:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Q3Pgy5m/" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 7313636114; Thu, 8 Feb 2024 19:26:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707420373; cv=none; b=DYIsIUHpVnefnhLBidXhcbgn91X7aZhK2+RUB/re34Bu/vKjz3ZXyzxuu1EvmsexwffFgP65IX3Bl7OwjqkDTRpLhDHGue9yUqWTwPUR/5Q0/WTUhQjqJIFe56tAwxRxNI0tr9sEQt9UgBINdQu7JeU1up/uC0lzO36yiLJ99aA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707420373; c=relaxed/simple; bh=fB7uOyMAsWVEuwqynjdh1cVw3jz/F6DAt3Qm5z1G9HQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=PE2PTWRekOp0TRl+Jm0cYH+G6qFOZXxp7vReDf6K//Xl/Jqu9vXzBmken6CnS/dvZzKPq6VR/uOSIV215QI/GR2WMeSEzDPINJvJ/Rgz6Y28iDTJ/z/dhrtGD/nGKKlf2qXyEDOTpHCY2APObw0Hm3n0LG7ezhTs8vjHWdnJmRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Q3Pgy5m/; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707420372; x=1738956372; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=fB7uOyMAsWVEuwqynjdh1cVw3jz/F6DAt3Qm5z1G9HQ=; b=Q3Pgy5m/og+PeCbS5NV/1SFZJ0aDOrt4O4+IOWdTT8YztsBGQfyGrbPN 3nxg2wAmfM6jBb7SP8eBVC8iq8R9t4gfZJIUSLSNkTFbCbQxh9X6ajygo 3BQSQ8jw/8y+ZyaT6+1iQzIdor8lTKU+DyhSkzdcSNfjnmk+/rtImW2Ih fTOmS+v0cAvmrVkY2WlyCku+hDKbg+yl+ywRRjd1U2OIvc+mfFdkknu43 +FJfMp8ekiUgnDz7guOooML8f8Ig3ZJblr0flFtrUFBfUA8h03k3roboN 3JMq2EAWRk7alPeFkynjlc8YBlgchbBlrdhRo0m0fLYvvKCe9CxAtaiT4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10978"; a="1156770" X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="1156770" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 11:26:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,254,1701158400"; d="scan'208";a="6375977" Received: from ercutler-mobl.amr.corp.intel.com (HELO [10.209.94.1]) ([10.209.94.1]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 11:26:10 -0800 Message-ID: <8e9bf21039eb3ea9ee72c93cadc33f18e849933f.camel@linux.intel.com> Subject: Re: [PATCH 3/7] fs/writeback: remove unused parameter wb of finish_writeback_work From: Tim Chen To: Kemeng Shi , viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 08 Feb 2024 11:26:10 -0800 In-Reply-To: <20240208172024.23625-4-shikemeng@huaweicloud.com> References: <20240208172024.23625-1-shikemeng@huaweicloud.com> <20240208172024.23625-4-shikemeng@huaweicloud.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2024-02-09 at 01:20 +0800, Kemeng Shi wrote: > Remove unused parameter wb of finish_writeback_work. >=20 > Signed-off-by: Kemeng Shi Reviewed-by: Tim Chen > --- > fs/fs-writeback.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) >=20 > diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c > index edb0cff51673..2619f74ced70 100644 > --- a/fs/fs-writeback.c > +++ b/fs/fs-writeback.c > @@ -166,8 +166,7 @@ static void wb_wakeup_delayed(struct bdi_writeback *w= b) > spin_unlock_irq(&wb->work_lock); > } > =20 > -static void finish_writeback_work(struct bdi_writeback *wb, > - struct wb_writeback_work *work) > +static void finish_writeback_work(struct wb_writeback_work *work) > { > struct wb_completion *done =3D work->done; > =20 > @@ -196,7 +195,7 @@ static void wb_queue_work(struct bdi_writeback *wb, > list_add_tail(&work->list, &wb->work_list); > mod_delayed_work(bdi_wq, &wb->dwork, 0); > } else > - finish_writeback_work(wb, work); > + finish_writeback_work(work); > =20 > spin_unlock_irq(&wb->work_lock); > } > @@ -2285,7 +2284,7 @@ static long wb_do_writeback(struct bdi_writeback *w= b) > while ((work =3D get_next_work_item(wb)) !=3D NULL) { > trace_writeback_exec(wb, work); > wrote +=3D wb_writeback(wb, work); > - finish_writeback_work(wb, work); > + finish_writeback_work(work); > } > =20 > /*