Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp894284ybk; Sat, 9 May 2020 23:27:44 -0700 (PDT) X-Google-Smtp-Source: APiQypIp6KWGRF7G2H9KKU5isKsrEoSFDTbsLI7SLEGChzB8E4pp68kwZ3aqCcV5qZODu+hnvcsd X-Received: by 2002:a17:906:31d7:: with SMTP id f23mr8291667ejf.118.1589092064152; Sat, 09 May 2020 23:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589092064; cv=none; d=google.com; s=arc-20160816; b=k8EJXIBJV9Xsj4ly5ZHASZDora+guomZRWt+rtdAxtPFBvxt/J5jHcvCmc7Pgd+j3d jaoIZrmAr7uBKyV+eeTorVZY+9OqLbqPbmR0qTjmnszWG24uS5W09JnPAupOTUzZm90K yCsgEDi/cJm9QoTLsnK7v3UwURFG4Bh9uyCgd7g9quoHEDDTgof1e9ATI+NpRLlBfgHc 7wOfpilenx8E73jcb0sSi1e/X/yF5RGEanPkmDj93cnVDvCQdBH2ry1rP1TTXZ/LVvu3 Xy4SewtJ6S65BkrUB6lbHuCwmXTxzhfT8gtPdm2rjhfOMuYXli7SAgKCE1tnjX/zfkFg UckA== 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=MlEVpN1i7PoFTIbVtG/NBDHoyppL7VfgSjPHP8NGkc6FhVBRHMjgPawlMng5HeUBO+ SgH+PZnh+2iMwEBy9hAZIOiKR6lk/b2N+iVSqD8rD70tjVwKPRKCi2nIHQpqG1Hl/XaI cEZEaxazzEJ3OdYiZ9iO2km1O3IpkCMXK8ii0yyDjo4rO0jxpsETQLp8xKUMpp8nogPA 88ANgiXRvH+mms+SAUfqiue4hjoE1YAkytWUp8inNXZTNETHmKqWJ39mDqTtJFbd1FhN KYKO8KEjwiVZ/9kKeZ6fD/cuGHH6mXVh3VlsUNpbsak4ZmDEVay/ce8i1Tv2i5qZS2ef fhjA== 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 u19si3780061eda.10.2020.05.09.23.27.21; Sat, 09 May 2020 23:27:44 -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 S1728469AbgEJG0B (ORCPT + 99 others); Sun, 10 May 2020 02:26:01 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44366 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728424AbgEJG0B (ORCPT ); Sun, 10 May 2020 02:26:01 -0400 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04A62A0j074487; Sun, 10 May 2020 02:25:48 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 30xa4gab9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 10 May 2020 02:25:48 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 04A6K07C003362; Sun, 10 May 2020 06:25:46 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma04ams.nl.ibm.com with ESMTP id 30wm55a13a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 10 May 2020 06:25:46 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 04A6PhnI61669622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 10 May 2020 06:25:43 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ABA7C42045; Sun, 10 May 2020 06:25:43 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20A4C4203F; Sun, 10 May 2020 06:25:42 +0000 (GMT) Received: from localhost.localdomain.com (unknown [9.199.61.127]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sun, 10 May 2020 06:25:41 +0000 (GMT) From: Ritesh Harjani To: linux-ext4@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, Jan Kara , tytso@mit.edu, "Aneesh Kumar K . V" , Ritesh Harjani Subject: [RFC 13/16] ext4: Replace EXT_DEBUG with __maybe_unused in ext4_ext_handle_unwritten_extents() Date: Sun, 10 May 2020 11:54:53 +0530 Message-Id: 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.216,18.0.676 definitions=2020-05-10_01:2020-05-08,2020-05-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 malwarescore=0 mlxscore=0 bulkscore=0 phishscore=0 impostorscore=0 spamscore=0 mlxlogscore=584 suspectscore=1 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005100050 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