lkml.org 
[lkml]   [1998]   [Jan]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 06 Jan 1998 11:54:54 -0500
FromBill Hawes <>
SubjectRe: 2.1.78 compile error
kwrohrer@enteract.com wrote:

> Given that the prototype is:
> static int coda_readlink(struct dentry *dentry, char *buffer, int length);
> 
> but the function definition starts out as:
> 
> static int coda_readlink(struct inode *dentry, char *buffer, int length)
> {
>         struct inode *inode = dentry->d_inode;
> 
> "struct inode *dentry"?!?   Wasn't there some warning in the Intercal
> manual about the badness of misspelling, e.g. "reinstate" F-O-R-G-E-T?
> 
> Apply this patch to fs/coda/symlink.c to make 2.1.78 compile with coda:
> 
> 53c53
> < static int coda_readlink(struct inode *dentry, char *buffer, int length)
> ---
> > static int coda_readlink(struct dentry *dentry, char *buffer, int length)

Sorry, that was my typo in the coda routine. I made changes to pass
dentry arguments in place of inodes for some more VFS routines, and the
changes turned out to be rather extensive. Obviously I missed a couple
of places ..

Regards,
Bill

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008