aboutsummaryrefslogtreecommitdiffstats
path: root/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-07-27 23:27:05 +0200
committerDavid Sterba <dsterba@suse.com>2016-07-28 14:08:30 +0200
commit9c92c4eb92c41860819a5c9e25972451541f1b02 (patch)
tree8c0489666e1e877627f2c769d6ad64f84d486816 /extent_io.h
parentbf3a4c5f1b532a5cad84cff8b0792839df43584c (diff)
downloadbtrfs-progs-9c92c4eb92c41860819a5c9e25972451541f1b02.tar.gz
btrfs-progs-9c92c4eb92c41860819a5c9e25972451541f1b02.tar.xz
btrfs-progs-9c92c4eb92c41860819a5c9e25972451541f1b02.zip
btrfs-progs: use values directly for BLOCK_GROUP_ macros
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'extent_io.h')
-rw-r--r--extent_io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/extent_io.h b/extent_io.h
index 9153a55..61cba92 100644
--- a/extent_io.h
+++ b/extent_io.h
@@ -43,11 +43,11 @@
#define EXTENT_BUFFER_DUMMY (1 << 11)
#define EXTENT_IOBITS (EXTENT_LOCKED | EXTENT_WRITEBACK)
-#define BLOCK_GROUP_DATA EXTENT_WRITEBACK
-#define BLOCK_GROUP_METADATA EXTENT_UPTODATE
-#define BLOCK_GROUP_SYSTEM EXTENT_NEW
+#define BLOCK_GROUP_DATA (1U << 1)
+#define BLOCK_GROUP_METADATA (1U << 2)
+#define BLOCK_GROUP_SYSTEM (1U << 4)
-#define BLOCK_GROUP_DIRTY EXTENT_DIRTY
+#define BLOCK_GROUP_DIRTY (1U)
/*
* The extent buffer bitmap operations are done with byte granularity instead of