]> Git Repo - linux.git/commit - drivers/block/amiflop.c
floppy,{ami|ata}flop: Convert to bdops->check_events()
authorTejun Heo <[email protected]>
Wed, 9 Mar 2011 18:54:27 +0000 (19:54 +0100)
committerTejun Heo <[email protected]>
Wed, 9 Mar 2011 18:54:27 +0000 (19:54 +0100)
commit1a8a74f03fcde1725ff26520220f3d21dbd8faa1
tree5ac4195f4b34f815261ec243357f81967e4384c0
parent5b03a1b140e13a28ff6be1526892a9dc538ddef6
floppy,{ami|ata}flop: Convert to bdops->check_events()

Convert the floppy drivers from ->media_changed() to ->check_events().
Both floppy and ataflop buffer media changed state bit and clear them
on revalidation and will behave correctly with kernel event polling.

I can't tell how amiflop clears its event and it's possible that it
may generate spurious events when polled.

Signed-off-by: Tejun Heo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Kay Sievers <[email protected]>
drivers/block/amiflop.c
drivers/block/ataflop.c
drivers/block/floppy.c
This page took 0.05405 seconds and 4 git commands to generate.