commit | 84420b1e5d7254e58f551e32244d13c8e124bdcc | [log] [tgz] |
---|---|---|
author | Huaisheng Ye <yehs1@lenovo.com> | Fri Apr 12 11:28:14 2019 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Apr 18 16:18:31 2019 -0400 |
tree | 368a6ef436beb08a6628f293ceb58acaebcd88de | |
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 <yehs1@lenovo.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>