Subject: Re: The demise of DEV_BSIZE
To: Jason Thorpe <thorpej@lestat.nas.nasa.gov>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-kern
Date: 10/12/1999 09:43:55
On Mon, 11 Oct 1999, Jason Thorpe wrote:

> On Mon, 11 Oct 1999 18:19:01 -0700 (PDT) 
>  Bill Studenmund <wrstuden@nas.nasa.gov> wrote:
> 
>  > Hmmm. Because we're filling in specinfo. All the other fields in specinfo
>  > get filled in in checkalias(), so it seems like the logical choice to me.
> 
> ...and where in the call-graph is checkalias() called?  If it's *after*
> (*d_open)(), you can call (*d_ioctl)().

? What call graph are you looking at?

Using ffs as an example,

ufs_lookup(), when it resolves the name into an inode # (it's not in the
cache), calls VFS_VGET(), which mapps to ffs_vget(). ffs_vget() does a
number of things, and then calls ufs_vinit. ufs_vinit() calls
checkalias().

I see no call to an open routine in that path. ??

Take care,

Bill