]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: Convert to bdops->check_events()
authorTejun Heo <tj@kernel.org>
Wed, 9 Mar 2011 18:54:29 +0000 (19:54 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 9 Mar 2011 18:54:29 +0000 (19:54 +0100)
commitcafb0bfca1a73efd6d8a4a6a6a716e6134b96c24
treee96bb102b905e5856a4d2a46ca3a4deb4922a9af
parent3c0d206092f50be82523dba2b0e0a02de9e6aad3
staging: Convert to bdops->check_events()

Convert two staging drivers - blkvsc_drv and cyasblkdev_block - from
->media_changed() to ->check_events().  The former always indicated
media changed while the latter always indicated media not changed.
Not sure what the drivers are trying to achieve but keep the original
behavior.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/westbridge/astoria/block/cyasblkdev_block.c