Subject: Re: bug in filehandle code?
To: YAMAMOTO Takashi <email@example.com>
From: Brett Lymn <firstname.lastname@example.org>
Date: 09/07/2006 12:14:17
On Thu, Sep 07, 2006 at 11:39:16AM +0900, YAMAMOTO Takashi wrote:
> which one?
well, ffs for a start - see my response to Martin in this thread.
> VFS_VPTOFH itself does never allocate storage.
> i'm not sure what you mean. can you give me an example?
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.