aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2014-06-05 13:22:25 +0100
committerChris Mason <[email protected]>2014-06-09 17:21:13 -0700
commit809f9016253dbfec00f71e98e11c4bcbf01b6c26 (patch)
tree9de246dd948d1de525d70d290118a28bb64b4c9d /tools/perf/util/trace-event-scripting.c
parent91405151eb7005949072bee751343390757f8417 (diff)
Btrfs: make sure we retry if page is a retriable exception
In inode.c:btrfs_page_exists_in_range(), if the page we get from the radix tree is an exception which should make us retry, set page to NULL in order to really retry, because otherwise we don't get another loop iteration executed (page != NULL makes the while loop exit). This also was making us call page_cache_release after exiting the loop, which isn't correct because page doesn't point to a valid page, and possibly return true from the function 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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions