Subject: Re: fcntl changes once again.
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 07/13/1999 14:45:02
On Tue, 13 Jul 1999 14:39:09 -0700 (PDT)
Bill Studenmund <wrstuden@nas.nasa.gov> wrote:
> To also do what we want, this count would have to be stored in struct
> file, so it really doesn't matter if it's set by an fcntl or ioctl - it
> has to be done high-enough in the chain that struct file's still around.
> I'd prefer fcntl (normal one) as we're messing with struct file.
...the other thing that an fcntl flags lets you do is set it when you
*open* the file. In something like a DMFS, the normal file system open
routine might have semantics that e.g. the archiving daemon may wish to
avoid!
-- Jason R. Thorpe <thorpej@nas.nasa.gov>