btrfs-progs: Use symbolic names for read ahead behavior
commit9e2bf8c8abecf878ea5928f2751e92433af124c7
authorNikolay Borisov <nborisov@suse.com>
Thu, 10 May 2018 16:22:11 +0000 (10 19:22 +0300)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:37:38 +0000 (7 16:37 +0200)
tree75f7d294bcfa8bc1fa50ea2aec1ae64f0711313a
parent6386ae4d8c6644630ab3f9aa1c92d8aed3b81aea
btrfs-progs: Use symbolic names for read ahead behavior

Presently btrfs-progs haven't pulled the enum defining the symbolic
names of read ahead constants. This commit adds the enum and
simultaneously converts all usages to respective symbolic name.
No functional change, just making the code human readable.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.h
extent-tree.c
qgroup-verify.c
volumes.c