diff options
author | Huaisheng Ye <[email protected]> | 2019-04-12 11:28:14 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2019-04-18 16:18:31 -0400 |
commit | 84420b1e5d7254e58f551e32244d13c8e124bdcc (patch) | |
tree | 368a6ef436beb08a6628f293ceb58acaebcd88de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 09f2d6563055b8ff0948cefb8911a4de0d559963 (diff) |
dm writecache: add unlikely for returned value of rb_next/prev
In functions writecache_discard() and writecache_find_entry() there is a
high probablity that the pointer of structure rb_node won't equal NULL.
Add unlikely for the pointer node NULL.
Signed-off-by: Huaisheng Ye <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions