From: Rik van Riel <riel@redhat.com>
To: Carlos Maiolino <cmaiolino@redhat.com>,
linux-fsdevel@vger.kernel.org, lkml@vger.kernel.org
Subject: Re: [PATCH] vfs: avoid creation of inode number 0 in get_next_ino V2
Date: Mon, 06 Jul 2015 13:15:23 -0400 [thread overview]
Message-ID: <559AB7AB.2020205@redhat.com> (raw)
In-Reply-To: <1435265921-21652-1-git-send-email-cmaiolino@redhat.com>
On 06/25/2015 04:58 PM, Carlos Maiolino wrote:
> currently, get_next_ino() is able to create inodes with inode number = 0.
> This have a bad impact in the filesystems relying in this function to generate
> inode numbers.
>
> While there is no problem at all in having inodes with number 0, userspace tools
> which handle file management tasks can have problems handling these files, like
> for example, the impossiblity of users to delete these files, since glibc will
> ignore them.
>
> This problem has been raised previously, but the old thread didn't have any
> other update for a year+, and I've seen too many users hitting the same issue
> regarding the impossibility to delete files while using filesystems relying on
> this function. So, I'm starting the thread again, with changes in the patch
> suggested by Viro.
>
> Changelog:
>
> V2: Use do..while() instead of unlikely(!res)
>
> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
prev parent reply other threads:[~2015-07-06 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-25 20:58 [PATCH] vfs: avoid creation of inode number 0 in get_next_ino V2 Carlos Maiolino
2015-07-06 17:15 ` Rik van Riel [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=559AB7AB.2020205@redhat.com \
--to=riel@redhat.com \
--cc=cmaiolino@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=lkml@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.