Re: [PATCH 3/3] btrfs: using enum to replace macro

2019-10-06 Thread David Sterba
On Sat, Oct 05, 2019 at 01:17:36PM +0800, Chengguang Xu wrote: > using enum to replace macro definition for extent > types. > > Signed-off-by: Chengguang Xu > --- > fs/btrfs/tree-checker.c | 4 ++-- > include/uapi/linux/btrfs_tree.h | 10 ++ > 2 files changed, 8 insertions(+), 6

[PATCH 3/3] btrfs: using enum to replace macro

2019-10-04 Thread Chengguang Xu
using enum to replace macro definition for extent types. Signed-off-by: Chengguang Xu --- fs/btrfs/tree-checker.c | 4 ++-- include/uapi/linux/btrfs_tree.h | 10 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c i