btrfs: sink mirror_num argument in extent_read_full_page
It's always set to 0 from the sole caller - btrfs_readpage. 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
c1be9c1ad5
commit
003c286aef
@@ -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, 0, &bio_flags, 0);
|
||||
ret = extent_read_full_page(page, &bio, &bio_flags, 0);
|
||||
if (bio)
|
||||
ret = submit_one_bio(bio, 0, bio_flags);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user