commit | c7329eff72aa237d6bedef6dc57c93dc048d2a16 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Jul 11 12:10:51 2018 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jul 27 15:24:28 2018 -0400 |
tree | 67593673bda0423578c806c0cda8c51a58b39ae0 | |
parent | a3fcf7253139609bf9ff901fbf955fba047e75dd [diff] |
dm crypt: use wake_up_process() instead of a wait queue This is a small simplification of dm-crypt - use wake_up_process() instead of a wait queue in a case where only one process may be waiting. dm-writecache uses a similar pattern. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>