public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: jaharkes@cs.cmu.edu, coda@cs.cmu.edu
Cc: codalist@coda.cs.cmu.edu, linux-kernel@vger.kernel.org
Subject: 2.6: fs/coda/dir.c: coda_hasmknod seems to be buggy
Date: Thu, 6 Jan 2005 22:40:53 +0100	[thread overview]
Message-ID: <20050106214053.GA28628@stusta.de> (raw)

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


             reply	other threads:[~2005-01-06 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 21:40 Adrian Bunk [this message]
2005-01-06 23:58 ` 2.6: fs/coda/dir.c: coda_hasmknod seems to be buggy Jan Harkes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050106214053.GA28628@stusta.de \
    --to=bunk@stusta.de \
    --cc=coda@cs.cmu.edu \
    --cc=codalist@coda.cs.cmu.edu \
    --cc=jaharkes@cs.cmu.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox