Loading kernel/module.c +2 −4 Original line number Diff line number Diff line Loading @@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user, return -EFAULT; name[MODULE_NAME_LEN-1] = '\0'; if (!(flags & O_NONBLOCK)) { printk(KERN_WARNING "waiting module removal not supported: please upgrade"); } if (!(flags & O_NONBLOCK)) pr_warn("waiting module removal not supported: please upgrade\n"); if (mutex_lock_interruptible(&module_mutex) != 0) return -EINTR; Loading Loading
kernel/module.c +2 −4 Original line number Diff line number Diff line Loading @@ -815,10 +815,8 @@ SYSCALL_DEFINE2(delete_module, const char __user *, name_user, return -EFAULT; name[MODULE_NAME_LEN-1] = '\0'; if (!(flags & O_NONBLOCK)) { printk(KERN_WARNING "waiting module removal not supported: please upgrade"); } if (!(flags & O_NONBLOCK)) pr_warn("waiting module removal not supported: please upgrade\n"); if (mutex_lock_interruptible(&module_mutex) != 0) return -EINTR; Loading