mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
David Sterba
parent
003c286aef
commit
6f15af6060
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user