mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
uml: fix nonremovability of watchdog
The UML watchdog driver was using the wrong config variable to control whether it can be unloaded once active. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
818f6ef407
commit
8d82076080
@ -69,7 +69,7 @@ static int harddog_open(struct inode *inode, struct file *file)
|
||||
spin_lock(&lock);
|
||||
if(timer_alive)
|
||||
goto err;
|
||||
#ifdef CONFIG_HARDDOG_NOWAYOUT
|
||||
#ifdef CONFIG_WATCHDOG_NOWAYOUT
|
||||
__module_get(THIS_MODULE);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user