summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2018-03-06 20:23:16 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:26:45 +0200
commit965aab1cfc13dacc3d5ad0d8d8eb4e0a7ea8c1d1 (patch)
treee537073b08d947fba241a8442082c33beb3e772e /fs/btrfs/file.c
parentBtrfs: dev-replace: make sure target is identical to source when raid56 rebui... (diff)
downloadlinux-965aab1cfc13dacc3d5ad0d8d8eb4e0a7ea8c1d1.tar.xz
linux-965aab1cfc13dacc3d5ad0d8d8eb4e0a7ea8c1d1.zip
btrfs: Use filemap_range_has_page()
The current implementation of btrfs_page_exists_in_range() gives the wrong answer if the workingset code has stored a shadow entry in the page cache. The filemap_range_has_page() function does not have this problem, and it's shared code, so use it instead. eigned-off-by: Matthew Wilcox <mawilcox@microsoft.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions