[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E3625DCE-DC39-4977-9A47-AE1FBD14CB0D@dilger.ca>
Date: Mon, 18 May 2020 19:55:38 -0600
From: Andreas Dilger <adilger@...ger.ca>
To: Jan Kara <jack@...e.cz>
Cc: Ted Tso <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH 1/2] ext4: Drop ext4_journal_free_reserved()
On May 18, 2020, at 03:21, Jan Kara <jack@...e.cz> wrote:
>
> Remome ext4_journal_free_reserved() function. It is never used.
(typo) "Remove", but otherwise seems fine.
> Signed-off-by: Jan Kara <jack@...e.cz>
Reviewed-by: Andreas Dilger <adilger@...ger.ca>
> ---
> fs/ext4/ext4_jbd2.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
> index 4b9002f0e84c..1c926f31d43e 100644
> --- a/fs/ext4/ext4_jbd2.h
> +++ b/fs/ext4/ext4_jbd2.h
> @@ -335,12 +335,6 @@ static inline handle_t *__ext4_journal_start(struct inode *inode,
> handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
> int type);
>
> -static inline void ext4_journal_free_reserved(handle_t *handle)
> -{
> - if (ext4_handle_valid(handle))
> - jbd2_journal_free_reserved(handle);
> -}
> -
> static inline handle_t *ext4_journal_current_handle(void)
> {
> return journal_current_handle();
> --
> 2.16.4
>
Powered by blists - more mailing lists