Re: [patch v3] vfs: fix sys_getcwd for detached mounts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Viro
Date: Monday, June 23, 2008 - 11:50 am

On Mon, Jun 23, 2008 at 08:25:26PM +0200, Miklos Szeredi wrote:

OK, I've applied everything except the last one (all in for-linus in
vfs-2.6.git).  As for the stuff outside current->root (or other namespace,
for that matter)...  I don't like the idea of using // - as it is,
we have a nice sane check (path[0] != '/') and if anything, I'd consider
going for deleted:<path> instead of <path> (deleted) as we have now.
_That_ would eliminate the major annoyance with handling of unlinked/rmdired -
we'd get rid of guessing whether that's a file really called "a (deleted)"
or an unlinked one that used to be called "a"...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch v3] vfs: fix sys_getcwd for detached mounts, Miklos Szeredi, (Mon Jun 23, 11:25 am)
Re: [patch v3] vfs: fix sys_getcwd for detached mounts, Matthew Wilcox, (Mon Jun 23, 11:29 am)
Re: [patch v3] vfs: fix sys_getcwd for detached mounts, Al Viro, (Mon Jun 23, 11:50 am)
Re: [patch v3] vfs: fix sys_getcwd for detached mounts, Miklos Szeredi, (Mon Jun 23, 12:06 pm)