summaryrefslogtreecommitdiffstats
path: root/include/ufs
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-05-30 03:45:28 +0200
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:31 +0200
commit31dd8c81ddfa142dab53a0837eed88e8febe7b1e (patch)
tree3b4829c02a9325784f66bf3767d5d10dff07269e /include/ufs
parentbtrfs: subpage: make alloc_extent_buffer() handle previously uptodate range e... (diff)
downloadlinux-31dd8c81ddfa142dab53a0837eed88e8febe7b1e.tar.xz
linux-31dd8c81ddfa142dab53a0837eed88e8febe7b1e.zip
btrfs: use the same uptodate variable for end_bio_extent_readpage()
In function end_bio_extent_readpage() we call endio_readpage_release_extent() to unlock the extent io tree. However we pass PageUptodate(page) as @uptodate parameter for it, while for previous end_page_read() call, we use a dedicated @uptodate local variable. This is not a big deal, as even for subpage cases, either the bio only covers part of the page, then the @uptodate is always false, and the subpage ranges can still be merged. But for the sake of consistency, always use @uptodate variable when possible. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/ufs')
0 files changed, 0 insertions, 0 deletions