Lucas De Marchi f634460c90 kmod: split call to call_usermodehelper_fns()
Use call_usermodehelper_setup() + call_usermodehelper_exec() instead of
calling call_usermodehelper_fns().  In case the latter returns -ENOMEM the
cleanup function may had not been called - in this case we would not free
argv and module_name.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <james.l.morris@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Tejun Heo <tj@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-30 17:04:06 -07:00
..
2013-03-02 08:31:39 -08:00
2013-02-21 12:05:51 -08:00
2013-04-22 07:09:06 -07:00
2013-04-15 13:25:16 +02:00
2012-12-20 17:40:19 -08:00
2013-01-24 15:37:26 +01:00
2013-02-22 23:31:31 -05:00
2013-04-30 17:04:03 -07:00
2013-04-29 13:55:38 -07:00