On Sun, May 07, 2000 at 10:27:17PM +0200, Marcus Brinkmann wrote:

> Do you have any other tips for this situation, things to watch out for, or
> strategies how to get the location of the directory entry (seems I need a
> lookup at update time, because the address is not robust under rename
> operations (moving the file to a different directory).

This comment might be pertinent: (From linux/fs/fat/misc.c)

/* File creation lock. This is system-wide to avoid deadlocks in rename. */
/* (rename might deadlock before detecting cross-FS moves.) */

I also notice that all of the locking mechanisms there are just based on 
a reference to the superblock, and don't seem any more fine-grained then 
that.

-- 
There is no sin except stupidity.
 - Oscar Wilde

Reply via email to