[OpenAFS-devel] RE: OpenAFS CVS Commit: openafs/src/cf by shadow

Neulinger, Nathan nneul@umr.edu
Mon, 1 Oct 2001 12:55:06 -0500


Seems to me that the only time the size actually matters is when allocating
the vnode.

Why not just:

typedef struct inode vnode_t;

and then special case where vnode's are allocated to allocate a minimal size
of the inode (i.e. sizeof(struct inode)-sizeof(someinode.u)), or something
like that.

Alternatively, adding perl as a build dependency on linux would make it
relatively easy to autogenerate the struct vnode definition. 

-- Nathan

> -----Original Message-----
> From: cvs@GRAND.CENTRAL.ORG [mailto:cvs@GRAND.CENTRAL.ORG]
> Sent: Monday, October 01, 2001 12:32 PM
> To: openafs-cvs@GRAND.CENTRAL.ORG
> Subject: OpenAFS CVS Commit: openafs/src/cf by shadow
> 
> 
> Update of /cvs/openafs/src/cf
> In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/cf
> 
> Modified Files:
> 	linux-test4.m4 
> Log Message:
> DELTA linux24-another-new-inode-field-sigh-20011001
> AUTHOR eichin-oa@boxedpenguin.com
> 
> with configure glue by shadow@dementia.org
> 
> one of these days we really need to implement a better solution
> 
> 
> --- DELTA config follows ---
> linux24-another-new-inode-field-sigh-20011001 
> openafs/src/cf/linux-test4.m4 1.6 1.7
> _______________________________________________
> OpenAFS-cvs mailing list
> OpenAFS-cvs@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-cvs
>