void cleanup_module(void) { devpts_upcall_new = NULL; devpts_upcall_kill = NULL; unregister_filesystem(&devpts_fs_type); kern_umount(devpts_mnt); }
static void __exit exit_devpts_fs(void) { #ifdef MODULE devpts_upcall_new = NULL; devpts_upcall_kill = NULL; #endif unregister_filesystem(&devpts_fs_type); kern_umount(devpts_mnt); }