Skip to content

Commit 3ca40c0

Browse files
riteshharjanitytso
authored andcommitted
jbd2: cleanup unused functions declarations from jbd2.h
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 <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/30d1fc327becda197a4136cf9cdc73d9baa3b7b9.1642416995.git.riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <[email protected]>
1 parent cdce59a commit 3ca40c0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

include/linux/jbd2.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,9 +1419,7 @@ extern void jbd2_journal_unfile_buffer(journal_t *, struct journal_head *);
14191419
extern bool __jbd2_journal_refile_buffer(struct journal_head *);
14201420
extern void jbd2_journal_refile_buffer(journal_t *, struct journal_head *);
14211421
extern void __jbd2_journal_file_buffer(struct journal_head *, transaction_t *, int);
1422-
extern void __journal_free_buffer(struct journal_head *bh);
14231422
extern void jbd2_journal_file_buffer(struct journal_head *, transaction_t *, int);
1424-
extern void __journal_clean_data_list(transaction_t *transaction);
14251423
static inline void jbd2_file_log_bh(struct list_head *head, struct buffer_head *bh)
14261424
{
14271425
list_add_tail(&bh->b_assoc_buffers, head);
@@ -1486,9 +1484,6 @@ extern int jbd2_journal_write_metadata_buffer(transaction_t *transaction,
14861484
struct buffer_head **bh_out,
14871485
sector_t blocknr);
14881486

1489-
/* Transaction locking */
1490-
extern void __wait_on_journal (journal_t *);
1491-
14921487
/* Transaction cache support */
14931488
extern void jbd2_journal_destroy_transaction_cache(void);
14941489
extern int __init jbd2_journal_init_transaction_cache(void);
@@ -1774,8 +1769,6 @@ static inline unsigned long jbd2_log_space_left(journal_t *journal)
17741769
#define BJ_Reserved 4 /* Buffer is reserved for access by journal */
17751770
#define BJ_Types 5
17761771

1777-
extern int jbd_blocks_per_page(struct inode *inode);
1778-
17791772
/* JBD uses a CRC32 checksum */
17801773
#define JBD_MAX_CHECKSUM_SIZE 4
17811774

0 commit comments

Comments
 (0)