Re: 2.6.6-rc3: modular DVB tda1004x broken

From: Andrew Morton
Date: Mon May 03 2004 - 16:02:48 EST


Linus Torvalds <torvalds@xxxxxxxx> wrote:
>
>
>
> How about this patch?

Seems sane. For after 2.6.6 ;)

> +static inline long open(const char * name, int mode, int flags)
> +{
> + return sys_open((const char __user *) name, mode, flags);
> +}

We may as well stick the get_fs()/set_fs() stuff in here as well - all
callers need to do it, after all. After which it would best be uninlined.

We can then remove all those `errno's from all over the place, too. I have
a patch for that.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/