commit | e7a121e34c79bca171e5076a4c30a17d9966e88f | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Fri Nov 16 15:50:02 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 01 09:37:34 2018 +0100 |
tree | 131935bc87e11b41128cff1797bbf16af65bfd60 | |
parent | 9dec38554aa876700acb851b35ee0c5e28841e03 [diff] |
dax: Avoid losing wakeup in dax_lock_mapping_entry commit 25bbe21bf427a81b8e3ccd480ea0e1d940256156 upstream. After calling get_unlocked_entry(), you have to call put_unlocked_entry() to avoid subsequent waiters losing wakeups. Fixes: c2a7d2a11552 ("filesystem-dax: Introduce dax_lock_mapping_entry()") Cc: stable@vger.kernel.org Signed-off-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>