[lkml]   [1999]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.3.30 linuxNFS import is broken (Screwed up NFS/RPC credentials)
>>>>> " " == Horst von Brand <> 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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [W:0.085 / U:2.836 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site