diff options
author | Ian Abbott | 2013-11-08 16:03:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-11-12 01:16:44 +0100 |
commit | 8da8c86f52e5487adfa2e3bae4d539e46f2714dd (patch) | |
tree | 8cbb6d03b707d51632644d57246aa47ebcd84449 /fs/file.c | |
parent | staging: comedi: cleanup_device() -> comedi_device_detach_cleanup() (diff) | |
download | kernel-qcow2-linux-8da8c86f52e5487adfa2e3bae4d539e46f2714dd.tar.gz kernel-qcow2-linux-8da8c86f52e5487adfa2e3bae4d539e46f2714dd.tar.xz kernel-qcow2-linux-8da8c86f52e5487adfa2e3bae4d539e46f2714dd.zip |
staging: comedi: wake up async waiters when become non-busy
Wake up all waiters on the comedi subdevice's async wait queue whenever
the subdevice is marked "non-busy". This happens when an asynchronous
command is cancelled or when a command is terminated and all data has
been read or written. Note: use `wake_up_interruptible_all()` as we
only use interruptible waits.
Remove the call to `wake_up_interruptible()` from `do_cancel_ioctl()` as
it will call `wake_up_interruptible_all()` indirectly via `do_cancel()`
and `do_become_nonbusy()`.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions