mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* lazy-umount cwd and ..
@ 2004-05-06  4:44 Tim Hockin
  2004-05-06  6:46 ` viro
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Hockin @ 2004-05-06  4:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: viro

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-06  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06  4:44 lazy-umount cwd and Tim Hockin
2004-05-06  6:46 ` viro
2004-05-06  6:58   ` Tim Hockin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®