commit | 93997f6ddb9d574cd58694f13c5b15212927bfa1 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <[email protected]> | Tue Apr 30 15:28:05 2013 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Apr 30 17:04:06 2013 -0700 |
tree | 730d902f168df136dad8b7a2b0b438a2929311f3 | |
parent | f634460c90751da21745eec7a220edf76c7d0c76 [diff] |
KEYS: split call to call_usermodehelper_fns() Use call_usermodehelper_setup() + call_usermodehelper_exec() instead of calling call_usermodehelper_fns(). In case there's an OOM in this last function the cleanup function may not be called - in this case we would miss a call to key_put(). Signed-off-by: Lucas De Marchi <[email protected]> Cc: Oleg Nesterov <[email protected]> Acked-by: David Howells <[email protected]> Acked-by: 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]>