btrfs: cleanup, use enum values for btrfs_path reada
authorDavid Sterba <dsterba@suse.com>
Fri, 27 Nov 2015 15:31:35 +0000 (16:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jan 2016 14:01:15 +0000 (15:01 +0100)
commite4058b54d1e442b6b3eca949f0d63d49ba2b020d
treedead11c1b6c35da853a74f133f45f55ffd107e4f
parent4d4ab6d6bc05ba65169de9a5391e6ccbe09d8719
btrfs: cleanup, use enum values for btrfs_path reada

Replace the integers by enums for better readability. The value 2 does
not have any meaning since a717531942f488209dded30f6bc648167bcefa72
"Btrfs: do less aggressive btree readahead" (2009-01-22).

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/file-item.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/relocation.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c
fs/btrfs/xattr.c