mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
usermodehelper: use UMH_WAIT_PROC consistently
A few call_usermodehelper() callers use the hardcoded constant instead of the proper UMH_WAIT_PROC, fix them. Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Cc: Lars Ellenberg <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Michal Januszewski <[email protected]> Cc: Florian Tobias Schandinat <[email protected]> Cc: Kentaro Takeda <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: James Morris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a02d6fd643
commit
70834d3070
5 changed files with 6 additions and 6 deletions
|
|
@ -179,7 +179,7 @@ int drbd_khelper(struct drbd_conf *mdev, char *cmd)
|
|||
dev_info(DEV, "helper command: %s %s %s\n", usermode_helper, cmd, mb);
|
||||
|
||||
drbd_bcast_ev_helper(mdev, cmd);
|
||||
ret = call_usermodehelper(usermode_helper, argv, envp, 1);
|
||||
ret = call_usermodehelper(usermode_helper, argv, envp, UMH_WAIT_PROC);
|
||||
if (ret)
|
||||
dev_warn(DEV, "helper command: %s %s %s exit code %u (0x%x)\n",
|
||||
usermode_helper, cmd, mb,
|
||||
|
|
|
|||
Loading…
Reference in a new issue