diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-08 20:57:38 +0100 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-12-16 17:53:38 +0100 |
commit | 2d9217296bfa6fdc0d3707264076e5296faffdbd (patch) | |
tree | ea929977770d95a47a4e7cbf15f13fb0e3d8dcad /firmware/cpia2 | |
parent | 77ea887e433ad8389d416826936c110fa7910f80 (diff) | |
download | kernel_samsung_tuna-2d9217296bfa6fdc0d3707264076e5296faffdbd.zip kernel_samsung_tuna-2d9217296bfa6fdc0d3707264076e5296faffdbd.tar.gz kernel_samsung_tuna-2d9217296bfa6fdc0d3707264076e5296faffdbd.tar.bz2 |
cdrom: add ->check_events() support
In principle, cdrom just needs to pass through ->check_events() but
CDROM_MEDIA_CHANGED ioctl makes things a bit more complex. Just as
with ->media_changed() support, cdrom code needs to buffer the events
and serve them to ioctl and vfs as requested.
As the code has to deal with both ->check_events() and
->media_changed(), and vfs and ioctl event buffering, this patch adds
check_events caching on top of the existing cdi->mc_flags buffering.
It may be a good idea to deprecate CDROM_MEDIA_CHANGED ioctl and
remove all this mess.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions