summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
follownameLost in the mergeTobias Klauser15 years
masterDynamically allocate inotify read bufferTobias Klauser13 years
pipeRevert "inotail.c: Decrement n_units before calling tail_pipe_from_begin"Tobias Klauser16 years
 
TagDownloadAuthorAge
v0.5commit a9b1b5e00a...Tobias Klauser17 years
v0.4commit 30282557d1...Tobias Klauser17 years
v0.3commit aa67658f45...Tobias Klauser17 years
v0.2commit 5d87c405cc...Tobias Klauser17 years
v0.1commit d5433918e5...Tobias Klauser18 years
git/tree/kernel/kmod.c?id=938e4b22e2a7d0f6f3962e601339347b2d8e09f5'>kernel/kmod.c parent17afab1de42236ee2f6235f4383cc6f3f13f8a10 (diff)
usermodehelper: export call_usermodehelper_exec() and call_usermodehelper_setup()
call_usermodehelper_setup() + call_usermodehelper_exec() need to be called instead of call_usermodehelper_fns() when the cleanup function needs to be called even when an ENOMEM error occurs. In this case using call_usermodehelper_fns() the user can't distinguish if the cleanup function was called or not. [akpm@linux-foundation.org: export call_usermodehelper_setup() to modules] Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed-by: 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>
Diffstat (limited to 'kernel/kmod.c')