From: David Sterba Date: Thu, 1 Aug 2019 12:50:33 +0000 (+0200) Subject: btrfs: async-thread: convert defines to enums X-Git-Tag: v5.4-rc1~1^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f64ce7b84c471c5af97697e539a7b4babd73a780;p=platform%2Fkernel%2Flinux-rpi.git btrfs: async-thread: convert defines to enums Reviewed-by: Nikolay Borisov Reviewed-by: Anand Jain Signed-off-by: David Sterba --- diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index 122cb97c7909..2e9e13ffbd08 100644 --- a/fs/btrfs/async-thread.c +++ b/fs/btrfs/async-thread.c @@ -12,9 +12,11 @@ #include "async-thread.h" #include "ctree.h" -#define WORK_DONE_BIT 0 -#define WORK_ORDER_DONE_BIT 1 -#define WORK_HIGH_PRIO_BIT 2 +enum { + WORK_DONE_BIT, + WORK_ORDER_DONE_BIT, + WORK_HIGH_PRIO_BIT, +}; #define NO_THRESHOLD (-1) #define DFT_THRESHOLD (32)