diff options
| author | Lucas De Marchi <[email protected]> | 2013-04-30 15:28:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-30 17:04:05 -0700 |
| commit | 938e4b22e2a7d0f6f3962e601339347b2d8e09f5 (patch) | |
| tree | 1d66004074a1306c20ce7e40eefc2839736e2ea0 /scripts/stackusage | |
| parent | 17afab1de42236ee2f6235f4383cc6f3f13f8a10 (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.
[[email protected]: export call_usermodehelper_setup() to modules]
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Oleg Nesterov <[email protected]>
Cc: David Howells <[email protected]>
Cc: James Morris <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions