Re: [PATCH 7/9] btrfs: rename io_failure_record::bio_flags to compress_type

Johannes Thumshirn
2022-05-01T20:22:48Z

On 29/04/2022 11:32, David Sterba wrote:
> diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
> index fdbfe801dbe2..1fa40ab561df 100644
> --- a/fs/btrfs/extent_io.h
> +++ b/fs/btrfs/extent_io.h
> @@ -266,7 +266,7 @@ struct io_failure_record {
> u64 start;
> u64 len;
> u64 logical;
> - unsigned long bio_flags;
> + unsigned int compress_type;
> int this_mirror;
> int failed_mirror;
> };

Why 'unsigned int' and not 'enum btrfs_compression_type'?