mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
btrfs: async-thread: convert defines to enums
Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e13976cf12
commit
f64ce7b84c
1 changed files with 5 additions and 3 deletions
|
@ -12,9 +12,11 @@
|
||||||
#include "async-thread.h"
|
#include "async-thread.h"
|
||||||
#include "ctree.h"
|
#include "ctree.h"
|
||||||
|
|
||||||
#define WORK_DONE_BIT 0
|
enum {
|
||||||
#define WORK_ORDER_DONE_BIT 1
|
WORK_DONE_BIT,
|
||||||
#define WORK_HIGH_PRIO_BIT 2
|
WORK_ORDER_DONE_BIT,
|
||||||
|
WORK_HIGH_PRIO_BIT,
|
||||||
|
};
|
||||||
|
|
||||||
#define NO_THRESHOLD (-1)
|
#define NO_THRESHOLD (-1)
|
||||||
#define DFT_THRESHOLD (32)
|
#define DFT_THRESHOLD (32)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue