lkml.org 
[lkml]   [1999]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VFAT rename
Alexander Viro <viro@math.psu.edu> wrote:
> Sorry, I didn't realize what you were asking for. Comments re POSIX are
> correct, but in that case everything is much worse. What kind of
> semantics do you want here? Two dentries for the object at the same
> moment? Sorry, no.

Why should this be required?

How about:

mark directory busy
unhash dentry
change dentry
rehash dentry
update directory info
unmark directory as busy

?

The worse that I can see happening here is that someone is reading
from the dentry while this happens, and gets some third (but logically
equivalent) version of the name.

But maybe there's some access path I've not considered?

--
Raul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.396 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site