kmod: always provide usermodehelper_disable()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 10 May 2011 19:27:34 +0000 (21:27 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 17 May 2011 21:19:18 +0000 (23:19 +0200)
commit13d53f8775c6a00b070a3eef6833795412eb7fcd
tree4d8d2c2261c9c41bfc37b1199b8789f5037e49ad
parentc3b0795c98c08351567464150db66d11e05d7611
kmod: always provide usermodehelper_disable()

We need to prevent kernel-forked processes during system poweroff.
Such processes try to access the filesystem whose disks we are
trying to shutdown at the same time. This causes delays and exceptions
in the storage drivers.

A follow-up patch will add these calls and need usermodehelper_disable()
also on systems without suspend support.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/kmod.h
kernel/kmod.c