public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6: fs/coda/dir.c: coda_hasmknod seems to be buggy
@ 2005-01-06 21:40 Adrian Bunk
  2005-01-06 23:58 ` Jan Harkes
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-06 21:40 UTC (permalink / raw)
  To: jaharkes, coda; +Cc: codalist, linux-kernel

Function coda_mknod in fs/coda/dir.c (I checked 2.6.10-mm2) stats with:

<--  snip  -->

...
static int coda_mknod(struct inode *dir, struct dentry *de, int mode, dev_t rdev)
{
        int error=0;
        const char *name=de->d_name.name;
        int length=de->d_name.len;
        struct inode *inode;
        struct CodaFid newfid;
        struct coda_vattr attrs;

        if ( coda_hasmknod == 0 )
                return -EIO;

<more code>
...

<--  snip  -->


The problem is that not a single place in the kernel assigns any value 
to coda_hasmknod.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-07  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06 21:40 2.6: fs/coda/dir.c: coda_hasmknod seems to be buggy Adrian Bunk
2005-01-06 23:58 ` Jan Harkes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox