diff options
| author | 2018-03-06 11:23:16 -0800 | |
|---|---|---|
| committer | 2018-03-31 01:26:45 +0200 | |
| commit | 965aab1cfc13dacc3d5ad0d8d8eb4e0a7ea8c1d1 (patch) | |
| tree | e537073b08d947fba241a8442082c33beb3e772e /fs/btrfs/file.c | |
| parent | Btrfs: dev-replace: make sure target is identical to source when raid56 rebuild fails (diff) | |
| download | linux-dev-965aab1cfc13dacc3d5ad0d8d8eb4e0a7ea8c1d1.tar.xz linux-dev-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
