Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> Mmmh. Assume a rename happens while there is an open file handle.
> What happens if then fsys_getfile is called, which does an lookup_hard on
> the cache_id in the file handle?

Rename has to change the cache_id in the file handle itself too.
Certainly everything must be kept consistent.

Because multiple links to a file are not permitted, you have to define
your own diskfs_dir_rename anyway; the generic one will not be
sufficient.

Thomas

Reply via email to