btrfs: sink read_flags argument into extent_read_full_page

It's always set to 0 by its sole caller - btrfs_readpage. Simply remove
it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Nikolay Borisov
2020-09-14 12:37:10 +03:00
committed by David Sterba
parent 003c286aef
commit 6f15af6060
3 changed files with 4 additions and 4 deletions

View File

@@ -8044,7 +8044,7 @@ int btrfs_readpage(struct file *file, struct page *page)
unsigned long bio_flags = 0;
int ret;
ret = extent_read_full_page(page, &bio, &bio_flags, 0);
ret = extent_read_full_page(page, &bio, &bio_flags);
if (bio)
ret = submit_one_bio(bio, 0, bio_flags);
return ret;