From: Tim Hockin <thockin@hockin.org>
To: linux-kernel@vger.kernel.org
Cc: viro@parcelfarce.linux.theplanet.co.uk
Subject: lazy-umount cwd and ..
Date: Wed, 5 May 2004 21:44:33 -0700 [thread overview]
Message-ID: <20040506044433.GA13933@hockin.org> (raw)
I notice that a process that is in a dir which gets lazy-unmounted
suddenly sees it's current dir change and its '..' dir points back to
itself.
I'm not sure it's a huge deal, but we have a half-patch floating around
that changes the behavior such that the unmounted mnt->mnt_parent is
retained and unreferenced when the mnt is finally released. This seems to
make any process which is in the unmounted mount not see anything
different, but does not let any new processes into the mount.
Minor, but friendly.
Should I bother to polish this patch off and send it, or is it just not
something we want to care about?
Tim
next reply other threads:[~2004-05-06 4:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 4:44 Tim Hockin [this message]
2004-05-06 6:46 ` lazy-umount cwd and viro
2004-05-06 6:58 ` Tim Hockin
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=20040506044433.GA13933@hockin.org \
--to=thockin@hockin.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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