Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp352821ybz; Thu, 30 Apr 2020 23:34:46 -0700 (PDT) X-Google-Smtp-Source: APiQypJal4PKEbj6MrU9gKx26xoIw11wqNl+cv/1TCk27DX8HmiwhMpdegYcv35AHk3/48M3PizJ X-Received: by 2002:a17:906:7d1:: with SMTP id m17mr1760578ejc.247.1588314885849; Thu, 30 Apr 2020 23:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588314885; cv=none; d=google.com; s=arc-20160816; b=OGh7hp8HnEpupV0wtIh7zOIxnyO+ZtNGxV8IkP2Yrh5OaliWbFF15OqhKPdrlWB8Ia JhYmvj79KgsZBl8m6HqJzuAdrLCgzXDI/5wMXK1IC70uSfDTD68ZEvenrkpkmdBBg698 wzhpYlcZdzq/ecuBF0zBRkNJYyyO9BC3g2VMT2PHkQPvxgJZxrKnEcGGZmLbj99wfr9v SQVZ8ujvvrgL5PtEbeodgpbNrt5lTVnTxB0yh+TF64iKeAKd43DM8dCsMY3EmwRA8ulF QPhwbtS/Dha3vQZfH/+khO/jf9aOGKmlv6w+RFAmVXz043vC/80YM+S9gCx9I8BWSNYu qA/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=jBg+xYXhpAJyu4GAMdKf1sVpT08gyIkZbr89syLlRok=; b=IULwa9mX6lleB3GHsB+fVnXJ4Au2ekKPlsfYPnBHGB/QAIOTJs+yUZRx59WNEq2yA2 2FhcmwCp4LStrCbUBHEVGYew7AV76oEtwqKl0mY7555oHybSsJxs7dXQGLw8hH8Nj69J wNJ0dXTnRADYG0QpIlOLgl1cBmiNhBPuyFLnRhT0GcfOJ/dqohy9P+v5AZwDxcMc7qSe vk4oaY2F95XrwZStoVKxeIvqnwxCivvg6+le4bhOzqM5DWcI6nPYtawtG1GcCRfU3M5y 1nwEz61TVx26L8p3uX20n1tvoBDd9LFnp4KucDATM8RJq7bWxm1wAdr4MldMBNcI50VU g3Sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq12si1138665ejb.472.2020.04.30.23.34.22; Thu, 30 Apr 2020 23:34:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728347AbgEAGay (ORCPT + 99 others); Fri, 1 May 2020 02:30:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:43648 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728342AbgEAGay (ORCPT ); Fri, 1 May 2020 02:30:54 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04161jZS106589; Fri, 1 May 2020 02:30:48 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 30rdgu9afh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 May 2020 02:30:48 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 0416AvA6030095; Fri, 1 May 2020 06:30:46 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma03ams.nl.ibm.com with ESMTP id 30mcu5v50d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 May 2020 06:30:46 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0416UhtB55050434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 1 May 2020 06:30:43 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C4E05A405C; Fri, 1 May 2020 06:30:43 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF927A405F; Fri, 1 May 2020 06:30:41 +0000 (GMT) Received: from localhost.localdomain.com (unknown [9.85.81.13]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 1 May 2020 06:30:41 +0000 (GMT) From: Ritesh Harjani To: linux-ext4@vger.kernel.org Cc: "Paul E . McKenney" , linux-fsdevel@vger.kernel.org, Jan Kara , tytso@mit.edu, "Aneesh Kumar K . V" , Ritesh Harjani Subject: [RFC 17/20] ext4: Replace EXT_DEBUG with __maybe_unused in ext4_ext_handle_unwritten_extents() Date: Fri, 1 May 2020 11:59:59 +0530 Message-Id: <4f29b43f37c4caf5e73448f3c89cf40113d6ab0d.1588313626.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-05-01_01:2020-04-30,2020-05-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 mlxlogscore=598 mlxscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 impostorscore=0 adultscore=0 suspectscore=1 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010040 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Replace EXT_DEBUG with __maybe_unused from inside ext4_ext_handle_unwritten_extents() function. There should be no functionality change in this patch. Signed-off-by: Ritesh Harjani --- fs/ext4/extents.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 461600c07316..dc980fbc49aa 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -3794,9 +3794,7 @@ ext4_ext_handle_unwritten_extents(handle_t *handle, struct inode *inode, struct ext4_ext_path **ppath, int flags, unsigned int allocated, ext4_fsblk_t newblock) { -#ifdef EXT_DEBUG - struct ext4_ext_path *path = *ppath; -#endif + struct ext4_ext_path __maybe_unused *path = *ppath; int ret = 0; int err = 0; -- 2.21.0