Re: [RFC 1/9] ext4: Remove unused enum EXT4_FC_COMMIT_FAILED

From: Jan Kara
Date: Wed Feb 23 2022 - 04:37:22 EST


On Wed 23-02-22 02:04:09, Ritesh Harjani wrote:
> Below commit removed all references of EXT4_FC_COMMIT_FAILED.
> commit 0915e464cb274 ("ext4: simplify updating of fast commit stats")
>
> Just remove it since it is not used anymore.
>
> Signed-off-by: Ritesh Harjani <riteshh@xxxxxxxxxxxxx>

Sure. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

Honza

> ---
> fs/ext4/fast_commit.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/ext4/fast_commit.h b/fs/ext4/fast_commit.h
> index 02afa52e8e41..80414dcba6e1 100644
> --- a/fs/ext4/fast_commit.h
> +++ b/fs/ext4/fast_commit.h
> @@ -93,7 +93,6 @@ enum {
> EXT4_FC_REASON_RENAME_DIR,
> EXT4_FC_REASON_FALLOC_RANGE,
> EXT4_FC_REASON_INODE_JOURNAL_DATA,
> - EXT4_FC_COMMIT_FAILED,
> EXT4_FC_REASON_MAX
> };
>
> --
> 2.31.1
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR