btrfs: use reada direction enum instead of constant value in load_free_space_tree
[sfrench/cifs-2.6.git] / fs / btrfs / free-space-tree.c
index d7b6c00171437432f58e0b0a3ef31f3d8841f5b2..af36a6a971fe56e9151b9bb10dd1a83ab08eacaf 100644 (file)
@@ -1573,7 +1573,7 @@ int load_free_space_tree(struct btrfs_caching_control *caching_ctl)
         */
        path->skip_locking = 1;
        path->search_commit_root = 1;
-       path->reada = 1;
+       path->reada = READA_FORWARD;
 
        info = search_free_space_info(NULL, fs_info, block_group, path, 0);
        if (IS_ERR(info)) {