]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usermodehelper: split remaining calls to call_usermodehelper_fns()
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 20 Mar 2013 04:08:29 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:28 +0000 (16:34 +1100)
commit2ecbe001e3d011427521a5009e7c05bfc2e98da2
tree28e4af8fa1c1c1c43c9917ac4b069550de3cd0ee
parente90f14bad8cf4d10f5b021d865d772f21d4454c1
usermodehelper: split remaining calls to call_usermodehelper_fns()

These are the only users of call_usermodehelper_fns().  This function
suffers from not being able to determine if the cleanup is called.  Even
if in this places the cleanup pointer is NULL, convert them to use the
separate call_usermodehelper_setup() + call_usermodehelper_exec()
functions so we can remove the _fns variant.

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>
fs/coredump.c
init/do_mounts_initrd.c