public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikita Danilov <Nikita@Namesys.COM>
To: Alexander Viro <viro@math.psu.edu>
Cc: Linux Kernel Mailing List <Linux-Kernel@Vger.Kernel.ORG>
Subject: lookup on unlinked directory.
Date: Thu, 12 Sep 2002 22:27:33 +0400	[thread overview]
Message-ID: <15744.56469.104338.357738@laputa.namesys.com> (raw)

Hello,

why ->create(), ->unlink(), and ->readdir() are disabled on the unlinked
but open directory (one with ->i_flags |= S_DEAD), but ->lookup() is
not?  This is especially strange, because ->rmdir() usually removes dot
and dotdot, but link_path_walk() will pretend they still exist.

Is this so for being able to do "cd .." from inside unlinked directory?

Nikita.

                 reply	other threads:[~2002-09-12 18:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=15744.56469.104338.357738@laputa.namesys.com \
    --to=nikita@namesys.com \
    --cc=Linux-Kernel@Vger.Kernel.ORG \
    --cc=viro@math.psu.edu \
    /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