]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs: potential adjust failure in lru_expire 19277/head
authorroot <tdd108128@163.com>
Fri, 1 Dec 2017 07:26:00 +0000 (15:26 +0800)
committerroot <tdd108128@163.com>
Sat, 16 Dec 2017 03:44:19 +0000 (11:44 +0800)
commit590c39eab02e64de7393c35ae7a9efb6ce626770
tree9e7621cf7b070a8ef3debfdabc1e5f5368174793
parent8723353f2b3ea12f31f203e1ae502bc68af38520
cephfs: potential adjust failure in lru_expire

Fix: the first adjust is no needed,it will never take real effect.
     the second 'adjust' may never get the chance to be executed
     suppose we can reach the second 'adjust', it will crash because the bottom list is empty now.

Fixes: http://tracker.ceph.com/issues/22458
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
src/include/lru.h