diff options
| author | Filipe Manana <[email protected]> | 2014-06-05 12:22:26 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-06-10 00:21:14 +0000 |
| commit | 6fdef6d43cb897bcbbed13786e8cc8cccabc442a (patch) | |
| tree | af3ecf8a8ffe78f736ac7257946f2174f2262664 /tools/perf/scripts/python | |
| parent | Btrfs: make sure we retry if page is a retriable exception (diff) | |
| download | kernel-6fdef6d43cb897bcbbed13786e8cc8cccabc442a.tar.gz kernel-6fdef6d43cb897bcbbed13786e8cc8cccabc442a.zip | |
Btrfs: don't release invalid page in btrfs_page_exists_in_range()
In inode.c:btrfs_page_exists_in_range(), if the page we got from
the radix tree is an exception entry, which can't be retried, we
exit the loop with a non-NULL page and then call page_cache_release
against it, which is not ok since it's not a valid page. This could
also make us return true when we shouldn't.
Signed-off-by: Filipe David Borba Manana <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
