lkml.org 
[lkml]   [1999]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.3.30 linuxNFS import is broken (Screwed up NFS/RPC credentials)
From
>>>>> " " == Horst von Brand <vonbrand@pincoya.inf.utfsm.cl> writes:

> What if several people open the same file (from different
> machines, even)? The permissions might have changed in
> between... AFAIKS, you need one such cookie for each time the
> file has been open(2)ed via NFS, and that gets ugly.
The 'struct file' is allocated when the file is opened, so it is not
shared among users. Each user will therefore be able to cache his/her
own permissions. This is why I want to pass the file structure rather
than the 'dentry' structure to the readpage/writepage. The latter is
common to all users of the file, and can therefore not be used to pass
user/process-specific information.

Cheers,
Trond

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

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans