diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2019-04-12 18:28:14 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-04-18 23:18:31 +0300 |
commit | 84420b1e5d7254e58f551e32244d13c8e124bdcc (patch) | |
tree | 368a6ef436beb08a6628f293ceb58acaebcd88de /tools/perf/scripts/python | |
parent | 09f2d6563055b8ff0948cefb8911a4de0d559963 (diff) | |
download | linux-84420b1e5d7254e58f551e32244d13c8e124bdcc.tar.xz |
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 <yehs1@lenovo.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions