Re: Linux 2.2.20pre10

Kai Germaschewski
2001-09-12T08:36:24Z

On Wed, 12 Sep 2001, David Woodhouse wrote:

> alan@lxorguk.ukuu.org.uk said:
> > o Fix null request_mode return (David Woodhouse)
>
> Is this attribution correct?

I suppose this fragment is refered to:

diff -ur linux-2.2.20-pre9.work/include/linux/kmod.h linux-2.2.20-pre10.work/include/linux/kmod.h
--- linux-2.2.20-pre9.work/include/linux/kmod.h Wed Aug 29 01:30:13 2001
+++ linux-2.2.20-pre10.work/include/linux/kmod.h Wed Sep 12 10:14:14 2001
@@ -13,7 +13,10 @@
#else
#include <linux/errno.h>

-#define request_module(x) do {} while(0)
+static inline int request_module(const char *name)
+{
+ return -EINVAL;
+}
static inline int exec_usermodehelper(char *program_path, char *argv[], char *envp[])
{
return -EACCES;

--Kai