From: Tejun Heo Date: Wed, 9 Mar 2011 18:54:27 +0000 (+0100) Subject: floppy,{ami|ata}flop: Convert to bdops->check_events() X-Git-Tag: v2.6.39-rc1~80^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a8a74f03fcde1725ff26520220f3d21dbd8faa1;p=pandora-kernel.git 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 Cc: Jens Axboe Cc: Kay Sievers --- Reading git-diff-tree failed