Subject: Re: bug in filehandle code?
To: None <blymn@baesystems.com.au>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 09/07/2006 11:39:16
> > what are "some filehandle calls"?
> > 
> 
> I mean the filesystem specific handler functions for the VOP_VPTOFH()
> call.

which one?

> > well, i guess you are confused between fhandle_t and struct fid.
> > what VFS_VPTOFH composes is a fid, not a fhandle_t.
> 
> Probably but what I have found is that the struct fid returned does
> not have the correct amount of storage allocated.  This was causing
> kernel panics when believing FHANDLE_SIZE().

VFS_VPTOFH itself does never allocate storage.
i'm not sure what you mean.  can you give me an example?

YAMAMOTO Takashi