Home
last modified time | relevance | path

Searched hist:"84420 b1e5d7254e58f551e32244d13c8e124bdcc" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/md/
H A Ddm-writecache.cdiff 84420b1e5d7254e58f551e32244d13c8e124bdcc Fri Apr 12 17:28:14 CEST 2019 Huaisheng Ye <yehs1@lenovo.com> 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>