The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Andreas Schwab <schwab@suse.de>, Nikita Danilov <Nikita@Namesys.COM>
Cc: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>, linux-kernel@vger.kernel.org
Subject: Re: inode values in file system driver
Date: Wed, 14 May 2003 19:31:02 +0100	[thread overview]
Message-ID: <200305141931.02928.adrian@mcmen.demon.co.uk> (raw)
In-Reply-To: <jeptmmgaiv.fsf@sykes.suse.de>

On Tuesday 13 May 2003 15:56, Andreas Schwab wrote:
> Nikita Danilov <Nikita@Namesys.COM> writes:


> |> In other words, readdir(3) will not return dirent for inode with ino 0.
>
> I stand corrected.  I was thinking of getdirentries, which does not have
> this problem.  But this is traditional Unix behaviour.
>


OK. I've worked round this in my driver. It will now list the file, and does 
so with inode 0 (I have not tinkered with anything outside my driver, so this 
won't have any impact on any other fs). Is this A Bad Thing?

Adrian


      parent reply	other threads:[~2003-05-14 18:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 20:18 inode values in file system driver Adrian McMenamin
2003-05-13 13:51 ` Erik Mouw
2003-05-13 14:33   ` Andreas Schwab
2003-05-13 14:47     ` Nikita Danilov
2003-05-13 14:56       ` Andreas Schwab
2003-05-13 18:54         ` Adrian McMenamin
2003-05-14 18:31         ` Adrian McMenamin [this message]

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=200305141931.02928.adrian@mcmen.demon.co.uk \
    --to=adrian@mcmen.demon.co.uk \
    --cc=J.A.K.Mouw@its.tudelft.nl \
    --cc=Nikita@Namesys.COM \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwab@suse.de \
    /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