[PATCH]: int (permission*)(struct dentry *, int)

2000-05-21 Thread Trond Myklebust
The following patch is more or less identical to the one I sent out on linux-fsdevel about a week ago. The only difference is that I found a private copy of what has now become 'vfs_permission()' in the proc directory. Patch has been tested, and should be ready to apply. Please note: I've been

Re: [prepatch] Directory Notification

2000-05-21 Thread willy
On Sun, May 21, 2000 at 04:27:29PM +, Ton Hospel wrote: A poll() notification mechanism should be at least as useful for e.g. GUI's who generally prefer to have synchronous notification. Alan mentioned there were fundamental problems with this, so I didn't even bother investigating.

Re: [prepatch] Directory Notification

2000-05-21 Thread Richard Gooch
[EMAIL PROTECTED] writes: On Sun, May 21, 2000 at 04:27:29PM +, Ton Hospel wrote: A poll() notification mechanism should be at least as useful for e.g. GUI's who generally prefer to have synchronous notification. Alan mentioned there were fundamental problems with this, so I didn't

Re: [prepatch] Directory Notification

2000-05-21 Thread Alan Cox
How do you deal with the poll() do stuff poll() and a directory chage occuring during a 'do stuff' period

Re: [prepatch] Directory Notification

2000-05-21 Thread Alexander Viro
On Sun, 21 May 2000, Alan Cox wrote: How do you deal with the poll() do stuff poll() and a directory chage occuring during a 'do stuff' period Erm... Keeping the time of last poll()-reported event in struct file, for one? Not that I liked it that much, but IMO it's