lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] new syscall: flink
Bill Rugolsky Jr. wrote:
>
> We discussed this previously; I described the problems with
> existing semantics, and on 2000/020/29 you wrote:
>
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=fa.iqoa6kv.flii0q%40ifi.uio.no&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3Dhpa%2Brugolsky%26btnG%3DGoogle%2BSearch
>
> "I'm hoping to fix this in 2.5. The problem is that the way open() is
> done in the VFS *requires* the creation of a new filestructure."
>
> I'm still open to suggestions. ;-)
>

I suggested at one point the following change:

Instead of having the filesystem open() method being passed in a pointer
to already allocated, partially initialized file structure, that code
should be moved to a library function, and instead let the open() method
return a struct file *. That way open() could either return a reference
to an already-allocated file or a new one.

-hpa


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

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.037 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site