Creating Linux virtual filesystems
Posted Oct 22, 2002 19:23 UTC (Tue) by gregkh
Parent article: Creating Linux virtual filesystems
Unfortunatly, your module is not able to be unloaded, right (I'm guessing as I haven't tried the code myself)? Problem is that nothing is removing the files that you have created, forcing the module count to always remain positive.
To work around this, see the gyrations I had to do with get_mount and put_mount in the drivers/hotplug/pci_hotplug.c and drivers/usb/core/inode.c code.
And patches to help port those two files to use libfs more are greatly appreciated :)
to post comments)