]> asedeno.scripts.mit.edu Git - linux.git/commit
uio: dismiss waiters on device unregistration
authorZhaolong Zhang <zhangzl2013@126.com>
Fri, 16 Nov 2018 10:21:51 +0000 (18:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 10:19:10 +0000 (11:19 +0100)
commitb5570ca7c475bffbc5fc2e9af994dc6d249eb13e
tree789278e2d7ff374f34261e140d9ef54a2042777d
parent3b1ad360acad6052c2568f891bb3d0f3f057016f
uio: dismiss waiters on device unregistration

When the device is unregistered, it should wake up the blocking waiters.
Otherwise, they will sleep forever.

Signed-off-by: Zhaolong Zhang <zhangzl2013@126.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c