Re: [PATCH 2/4] btrfs: convert enum btrfs_compression_type to define
From: David Sterba <hidden>
Date: 2017-08-16 14:01:04
From: David Sterba <hidden>
Date: 2017-08-16 14:01:04
On Sun, Aug 13, 2017 at 12:02:42PM +0800, Anand Jain wrote:
There isn't a huge list to manage the types, which can be managed with defines. It helps to easily print the types in tracing as well.
We use enums in a lot of places, I'd rather keep it as it is.