summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-09-14 12:37:10 +0300
committerDavid Sterba <dsterba@suse.com>2020-10-07 12:13:20 +0200
commit6f15af6060057babf03d3b0dce2b0d7a9258620c (patch)
tree9b15068e4f8b75b0affd15984cc04dad117ea38b /fs/btrfs/inode.c
parent003c286aef3f73e8e7b5fce6040761966ba65b5b (diff)
downloadlwn-6f15af6060057babf03d3b0dce2b0d7a9258620c.tar.gz
lwn-6f15af6060057babf03d3b0dce2b0d7a9258620c.zip
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>
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 a08917e72f05..4b40d9703be6 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, &bio_flags, 0);
+ ret = extent_read_full_page(page, &bio, &bio_flags);
if (bio)
ret = submit_one_bio(bio, 0, bio_flags);
return ret;