From 0f841bd537f3f6fb7250ab44a99ba7338a3ae42a Mon Sep 17 00:00:00 2001 From: rread Date: Wed, 4 Jun 2003 22:27:19 +0000 Subject: [PATCH] make the portals' definition of USERMODEHELPER blocking, too. --- lnet/include/linux/kernel_compat.h | 2 +- lustre/portals/include/linux/kernel_compat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lnet/include/linux/kernel_compat.h b/lnet/include/linux/kernel_compat.h index 6893c40..3037daa 100644 --- a/lnet/include/linux/kernel_compat.h +++ b/lnet/include/linux/kernel_compat.h @@ -12,7 +12,7 @@ #define SIGNAL_MASK_UNLOCK(task, flags) \ spin_unlock_irqrestore(&task->sighand->siglock, flags) #define USERMODEHELPER(path, argv, envp) \ - call_usermodehelper(path, argv, envp, 0) + call_usermodehelper(path, argv, envp, 1) #define RECALC_SIGPENDING recalc_sigpending #define CURRENT_SECONDS get_seconds() diff --git a/lustre/portals/include/linux/kernel_compat.h b/lustre/portals/include/linux/kernel_compat.h index 6893c40..3037daa 100644 --- a/lustre/portals/include/linux/kernel_compat.h +++ b/lustre/portals/include/linux/kernel_compat.h @@ -12,7 +12,7 @@ #define SIGNAL_MASK_UNLOCK(task, flags) \ spin_unlock_irqrestore(&task->sighand->siglock, flags) #define USERMODEHELPER(path, argv, envp) \ - call_usermodehelper(path, argv, envp, 0) + call_usermodehelper(path, argv, envp, 1) #define RECALC_SIGPENDING recalc_sigpending #define CURRENT_SECONDS get_seconds() -- 1.8.3.1