Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp418642pxb; Thu, 13 Jan 2022 09:04:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJziXsFh5lHDboWw5NdQ4RXij6WuXILcvtpfgo/Trq4Es0CSaCTqLzV3w/3YVk6ayzuRq9S+ X-Received: by 2002:aa7:c6c1:: with SMTP id b1mr5068259eds.172.1642093458745; Thu, 13 Jan 2022 09:04:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642093458; cv=none; d=google.com; s=arc-20160816; b=ZV+dITAuqfZpm/TlSbbyOx8Dh8TsXbq42tPfJ2FDB7w/996vmSfcjqgl59AdJxgomm G1EP4Y5y5LPAAOTLtkwQHXNhEreV6RrckbzNvS9KNrIzRu2yOdrZVKGbEzsGtmeiilJe 6JsvS25guvG5oHLcNJHGuiLenqfToTEbgbHJjYDXpI6zpQzrQtK9/wdF2/gMLOCvh7F9 BQnuRfAC2geNRT50GWX0p4UqcM4PCJ11/dBEBRjArP+bd3G4wirY2SrwoKrYf4pJb1hI oaSs0YTWc1TIA3V/OQ1zh1J2MPVlqaiubNd459KnQj8Iv6nCNYgAdA8uLJZLnmXfKD46 Uorw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=RCDhP7bldJJEb5IG2FBAn7a1olbFjes1C2dIqW8mwjw=; b=qNWaMQDItyuyf8HvfkKAPVC53u7EoXmlcLbnkhm2jhFojQ9QzeqbzUOxWbTvK07HRx XVm+ebMTVDzqFeWgaFaJe1E8NDyaPDyA7dkY802ox4L68qgu0Li7VF7GpekQHKXWm/lB ai2wEeletLr+4DjVyAEoz/uBvFeeMjuBlUV1PAxHMgnrRidRozCid+g+bILkk3JTPjRg ZGkKmGShwSyELGmO50B2rKWyZneZUYJiZAAiEA8rzqM0rMC4WuBLFMAYVUBr5MtyaiVV RdnvHB1fWJoypsr7WUGrhTe4Yo+Ci1mz3jGhSG9FwGMe2k5r78cK7ZvYn9tH/Cm68Lpr Q/hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=CC9Nzi6B; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cr1si1967826ejc.1006.2022.01.13.09.03.46; Thu, 13 Jan 2022 09:04:18 -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=@suse.cz header.s=susede2_rsa header.b=CC9Nzi6B; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233898AbiAMLBi (ORCPT + 99 others); Thu, 13 Jan 2022 06:01:38 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:43790 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233476AbiAMLBh (ORCPT ); Thu, 13 Jan 2022 06:01:37 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id C0BD41F3D2; Thu, 13 Jan 2022 11:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1642071695; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RCDhP7bldJJEb5IG2FBAn7a1olbFjes1C2dIqW8mwjw=; b=CC9Nzi6B3YsNyzP4H/xjYZtVOAL05nzfcS4oc14tKBhAk2ZYDZ7ZfxrXzYFLLxNluOR005 +9HDrUMJslDFGmRT1liCKOnsYrFiTUEWG0p8reMYL1lKHmilYRXY/svCjUcZkfQJS0zvHx QRLR8aMcE4Xc4yQ/XtCmKoo7drACoDU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1642071695; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RCDhP7bldJJEb5IG2FBAn7a1olbFjes1C2dIqW8mwjw=; b=GrP0n0thBal5rejUK13WuIJHUBGqyf6OQf0LcoRDkeAiVOqQ9JVC0mkx3GuFRFXqBwgqcH 0VkJAJ/aVzAA/sDg== Received: from quack3.suse.cz (unknown [10.163.28.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id B1AD4A3B88; Thu, 13 Jan 2022 11:01:35 +0000 (UTC) Received: by quack3.suse.cz (Postfix, from userid 1000) id 773D2A05E2; Thu, 13 Jan 2022 12:01:35 +0100 (CET) Date: Thu, 13 Jan 2022 12:01:35 +0100 From: Jan Kara To: Ritesh Harjani Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Andreas Dilger , tytso@mit.edu, Eric Whitney Subject: Re: [PATCH 4/6] jbd2: Cleanup unused functions declarations from jbd2.h Message-ID: <20220113110135.jpmi2ogjunxyyleh@quack3.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu 13-01-22 08:56:27, Ritesh Harjani wrote: > 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 Spring cleaning :). Feel free to add: Reviewed-by: Jan Kara Honza > --- > 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 > -- Jan Kara SUSE Labs, CR