Subject: Re: bug in filehandle code?
To: Brett Lymn <firstname.lastname@example.org>
From: Brett Lymn <email@example.com>
Date: 09/08/2006 21:38:58
On Thu, Sep 07, 2006 at 12:14:17PM +0930, Brett Lymn wrote:
> I know, but vfs_composefh_alloc() believes the storage size returned
> by the VFS_VPTOFH() and allocates that much space even if it is less
> than FHANDLE_SIZE_MIN. There is an assert that would catch that if I
> had DIAGNOSTIC (I think) in my kernel config but I don't.
Just for the record this was something silly I did - the size returned
by FHANDLE_SIZE() is the size of the entire file handle not the size
of the struct fid as I first believed.