aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-09-14 12:37:09 +0300
committerDavid Sterba <[email protected]>2020-10-07 12:13:20 +0200
commit003c286aef3f73e8e7b5fce6040761966ba65b5b (patch)
tree6d96e304d4c02e7b3f3ed5d7628ba638cda6c269 /fs/btrfs/inode.c
parentc1be9c1ad5cca645ffd31284674ee4e28b9472de (diff)
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 <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 55c5617c180b..a08917e72f05 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -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;