btrfs: Make reada_tree_block_flagged private
authorNikolay Borisov <nborisov@suse.com>
Wed, 21 Aug 2019 13:38:15 +0000 (16:38 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:11 +0000 (14:59 +0200)
commit4f84bd7f99fb67475e17e1cdca412e5d14bd3f45
tree179e29db2b57711f087bc6bd25d062f531a9d4f4
parentb0c1fe1eaf5eea10e8d577545298b6d5f9f7ff38
btrfs: Make reada_tree_block_flagged private

This function is used only for the readahead machinery. It makes no
sense to keep it external to reada.c file. Place it above its sole
caller and make it static. No functional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/reada.c