Hi,
I am using a code for a block device driver from following site:
http://www.kernel-labs.org/?q=blockdriver&PHPSESSID=0b5c36c40ec71ec1587f...
This code works fine. But when I try to remove that module using
rmmod, it says "Error: module bdev is in use".
Even if I insert the module and immediately try to remove it without
using it, I get the same error. Once add_disk() is called kernel tries
to read the partition table from that device, which is normal. I need
to reboot the machine every time whenever I have to try modified
module. I am not getting who is referring to that module.
Thanks.