lkml.org 
[lkml]   [2004]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.6-rc3: modular DVB tda1004x broken
From
Date
On Mon, 2004-05-03 at 23:02, Andrew Morton wrote:
> Linus Torvalds <torvalds@osdl.org> 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.


if you're going to modify callers, why not make them use open_filp()
instead of sys_open etc.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.100 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site