提交 4010b622 编写于 作者: L Linus Torvalds

Merge branch 'dax-fix-5.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm

Pull dax fix from Dan Williams:
 "Fix a botched manual patch update that got dropped between testing and
  application"

* 'dax-fix-5.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
  dax: Fix missed wakeup in put_unlocked_entry()
...@@ -266,7 +266,7 @@ static void wait_entry_unlocked(struct xa_state *xas, void *entry) ...@@ -266,7 +266,7 @@ static void wait_entry_unlocked(struct xa_state *xas, void *entry)
static void put_unlocked_entry(struct xa_state *xas, void *entry) static void put_unlocked_entry(struct xa_state *xas, void *entry)
{ {
/* If we were the only waiter woken, wake the next one */ /* If we were the only waiter woken, wake the next one */
if (entry && dax_is_conflict(entry)) if (entry && !dax_is_conflict(entry))
dax_wake_entry(xas, entry, false); dax_wake_entry(xas, entry, false);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册