From: Florian Weimer <fweimer@redhat.com>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Linux FS Devel <linux-fsdevel@vger.kernel.org>
Subject: Re: Can getdents return zero inode numbers?
Date: Fri, 8 Apr 2016 21:40:09 +0200 [thread overview]
Message-ID: <57080919.6000101@redhat.com> (raw)
In-Reply-To: <14BE767D-13C2-4946-B8C7-042654875E05@dilger.ca>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 03/11/2016 10:20 PM, Andreas Dilger wrote:
> On Mar 11, 2016, at 10:34 AM, Florian Weimer <fweimer@redhat.com>
> wrote:
>>
>> Is it possible that getdents returns a zero inode number for a
>> name which actually has a file (or directory, device node etc.)
>> behind it?
>
> The d_ino == 0 value is valid to return and means that the filename
> was unlinked from the directory but the entry was not actually
> removed.
Thanks.
Which file systems do this? Is it possible to see this in action?
Florian
next prev parent reply other threads:[~2016-04-08 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-11 17:34 Can getdents return zero inode numbers? Florian Weimer
2016-03-11 21:20 ` Andreas Dilger
2016-03-11 21:39 ` Florian Weimer
2016-04-08 19:40 ` Florian Weimer [this message]
2016-04-10 21:30 ` Andreas Dilger
2016-04-19 20:48 ` Eric Sandeen
2016-04-20 1:46 ` Florian Weimer
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=57080919.6000101@redhat.com \
--to=fweimer@redhat.com \
--cc=adilger@dilger.ca \
--cc=linux-fsdevel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.