Tomas M:
> Would you please explain briefly what does the code chcek for?
> I'll resend it to the developer of posixovl.
>
> // from branch.c, lines 377-380
> if (unlikely(!inode->i_nlink)) {
> Err("no existence %s\n", add->path);
> goto out;
> }
It tests the existence of the specified dir.
As you know, the link count of a removed dir (or file) is 0.
Aufs lookups and gets the inode, and then add it to aufs. During this
operation, aufs does not hold any lock. So someone else may remove the
dir.
Junjiro Okajima
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/