From: Lucas De Marchi Date: Tue, 30 Apr 2013 22:28:05 +0000 (-0700) Subject: KEYS: split call to call_usermodehelper_fns() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~88^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93997f6ddb9d574cd58694f13c5b15212927bfa1;p=pandora-kernel.git 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 Cc: Oleg Nesterov Acked-by: David Howells Acked-by: James Morris Cc: Al Viro Cc: Tejun Heo Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed