Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1725103pxb; Wed, 12 Jan 2022 23:46:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOEKf46PvkgDHqrouVKLIRXC/4oQLX8mHwxwc2vlLgyh8V0cO9s7kefY4KLXEa7x3J/nlC X-Received: by 2002:aa7:c448:: with SMTP id n8mr828717edr.378.1642060018077; Wed, 12 Jan 2022 23:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642060018; cv=none; d=google.com; s=arc-20160816; b=fKI5rn8XE/IFRCF/R6ZazkioqsfUuLHoIw1MAuJr/QPhJuVF/uoSpm6CwkICEqc4aY dPwAHkh3pSpJwCFmUuI1R+SlCbmbb/Yx8MPrCXpP9Zuq1OxeuAYVR1nf8T4MOZihFXp7 v2Y4jN9eZBTJRqZyek04H4ARIz6HZ/Lz7plYeajm3jnBRTaMvNwdprWMmiuBHOjL4Ooz Rzt3+uAb00k/A2Q093nGjLZ4ouM3nBLJ4rDXcr4kY4zBFf4GSXNrLRF6Xr3MaL0uXoSD KFnrI+/6l3tG0kqoIt1eBU0OQqZMZPklMvYE9z7b5HuFUhyVVD2T0bPBvp+f1xyS64Jw xZng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=knrZoOq0zPyYTCmlCIGKZ4ymCs9R2rtgHkXfvszrbbY=; b=EHL7nSclgfopg/0l1292H9V/pAPNAst9WlxPRJDg5sM28/f8f9PBydJffVhhjSMwY1 HppncVPqwufCbnqoGTZIredhyajPCNMVoTrOhNc2gQC3cOEkGuTH5kg2egrT3yZ3SgLJ zeDDQlVQWYnsxHeESdIojun7ZM6hSFHbJo4oGwIM1YF5MZEemAzzpg9lguG8R/vQ6f3s GSpto4DMHvbvZGC2cmh2g2liHwDsDocYsNdmvK7eHZxXindgMHrzuEOhQqYhA0NOvk6F B57LrcKWa36n+1JQp3Nb4rM1UmOeR5x3I/Tw0gASbZqG73uugWFgGtUjTyoE0i2/7kdS q+yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PjkBWD5S; 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=pass (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 u2si1211757ejy.13.2022.01.12.23.46.34; Wed, 12 Jan 2022 23:46:58 -0800 (PST) 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; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PjkBWD5S; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232105AbiAMD07 (ORCPT + 99 others); Wed, 12 Jan 2022 22:26:59 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:10790 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232062AbiAMD0w (ORCPT ); Wed, 12 Jan 2022 22:26:52 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20D2Een9009015; Thu, 13 Jan 2022 03:26:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=knrZoOq0zPyYTCmlCIGKZ4ymCs9R2rtgHkXfvszrbbY=; b=PjkBWD5S7MBO2jaAC3mu/sQHtnspnjQ1WUkEsEnA6T0UOb/nT1Qczk7sMR0nvUlyqEV/ TBcsEZeSLUBDIt2Lyib2hdxggFEBQVZ4D6U+ZRjqS0neAoEwnmduFVZ5xXe1dYGFyQF0 iDxPn4k4l8mkFuS3zQmoTuVycgAL/vFXbAEsC9PV0xfJfcURsy+zMg96POuVcAH6Tw9W 5yGkPJrVK7+1UpVqK9zXj85Mr/ks6+ehXb6vGx7+HU9rdBSYuAUDc4Uoobsej0N0WkIu ma5qt608D52zHsM+s6drl9d87yOWaRAIhbYuNuB6F87DFVos1iGPy84Jd+it8WcUOEu3 0g== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3dj79pvggw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jan 2022 03:26:47 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 20D3QlfJ005873; Thu, 13 Jan 2022 03:26:47 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 3dj79pvggj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jan 2022 03:26:47 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 20D3DEWQ015912; Thu, 13 Jan 2022 03:26:45 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma04ams.nl.ibm.com with ESMTP id 3df289gnh6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jan 2022 03:26:45 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 20D3HcwO48038260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Jan 2022 03:17:38 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0B7C4A405F; Thu, 13 Jan 2022 03:26:43 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 93C0DA4062; Thu, 13 Jan 2022 03:26:42 +0000 (GMT) Received: from localhost (unknown [9.43.54.234]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 13 Jan 2022 03:26:42 +0000 (GMT) From: Ritesh Harjani To: linux-ext4@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Andreas Dilger , tytso@mit.edu, Eric Whitney , Ritesh Harjani Subject: [PATCH 4/6] jbd2: Cleanup unused functions declarations from jbd2.h Date: Thu, 13 Jan 2022 08:56:27 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: hJNr0Rx5-unfd71RponBhDI4xXD08JnS X-Proofpoint-GUID: 6zUxCYaqJvUyB-zMshQ6O-VX_Bj9gIOa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-13_01,2022-01-11_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 phishscore=0 adultscore=0 mlxlogscore=618 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201130013 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org During code review found no references of few of these below function declarations. This patch cleans those up from jbd2.h Signed-off-by: Ritesh Harjani --- include/linux/jbd2.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index fd933c45281a..f76598265896 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -1419,9 +1419,7 @@ extern void jbd2_journal_unfile_buffer(journal_t *, struct journal_head *); extern bool __jbd2_journal_refile_buffer(struct journal_head *); extern void jbd2_journal_refile_buffer(journal_t *, struct journal_head *); extern void __jbd2_journal_file_buffer(struct journal_head *, transaction_t *, int); -extern void __journal_free_buffer(struct journal_head *bh); extern void jbd2_journal_file_buffer(struct journal_head *, transaction_t *, int); -extern void __journal_clean_data_list(transaction_t *transaction); static inline void jbd2_file_log_bh(struct list_head *head, struct buffer_head *bh) { list_add_tail(&bh->b_assoc_buffers, head); @@ -1486,9 +1484,6 @@ extern int jbd2_journal_write_metadata_buffer(transaction_t *transaction, struct buffer_head **bh_out, sector_t blocknr); -/* Transaction locking */ -extern void __wait_on_journal (journal_t *); - /* Transaction cache support */ extern void jbd2_journal_destroy_transaction_cache(void); extern int __init jbd2_journal_init_transaction_cache(void); @@ -1774,8 +1769,6 @@ static inline unsigned long jbd2_log_space_left(journal_t *journal) #define BJ_Reserved 4 /* Buffer is reserved for access by journal */ #define BJ_Types 5 -extern int jbd_blocks_per_page(struct inode *inode); - /* JBD uses a CRC32 checksum */ #define JBD_MAX_CHECKSUM_SIZE 4 -- 2.31.1