diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2019-04-12 11:28:14 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-04-18 16:18:31 -0400 |
commit | 84420b1e5d7254e58f551e32244d13c8e124bdcc (patch) | |
tree | 368a6ef436beb08a6628f293ceb58acaebcd88de /drivers/md/persistent-data | |
parent | 09f2d6563055b8ff0948cefb8911a4de0d559963 (diff) | |
download | linux-stable-84420b1e5d7254e58f551e32244d13c8e124bdcc.tar.gz linux-stable-84420b1e5d7254e58f551e32244d13c8e124bdcc.tar.bz2 linux-stable-84420b1e5d7254e58f551e32244d13c8e124bdcc.zip |
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 'drivers/md/persistent-data')
0 files changed, 0 insertions, 0 deletions