HI, I want ro rmmod redirfs.ko, and add the code:
"
static void __exit rfs_exit(void)
{
rfs_sysfs_delete();
rfs_file_cache_destory();
rfs_inode_cache_destroy();
rfs_dentry_cache_destory();
if (rfs_info_none)
rfs_info_put(rfs_info_none);
}
module_exit(rfs_exit);
"
/rfsctl/rfsctl -f roflt -i /home/test
/rfsctl/rfsctl -f roflt -R /home/test
/rfsctl/rfsctl -f roflt -u
rmmod roflt.ko
rmmod redirfs.ko
The system has been restarted, How can i rmmod redirfs.ko
HI, I want ro rmmod redirfs.ko, and add the code:
"
static void __exit rfs_exit(void)
{
rfs_sysfs_delete();
rfs_file_cache_destory();
rfs_inode_cache_destroy();
rfs_dentry_cache_destory();
if (rfs_info_none)
rfs_info_put(rfs_info_none);
}
module_exit(rfs_exit);
"
/rfsctl/rfsctl -f roflt -i /home/test
/rfsctl/rfsctl -f roflt -R /home/test
/rfsctl/rfsctl -f roflt -u
rmmod roflt.ko
rmmod redirfs.ko
The system has been restarted, How can i rmmod redirfs.ko