Bugfix for 'mkdir x; mkdir y; mv x y'

This commit is contained in:
Ben Gras 2007-05-31 13:37:38 +00:00
parent af78f809ee
commit 1560fc9b94

View File

@ -350,12 +350,10 @@ PUBLIC int fs_rename()
}
next_new_superdirp = advance(&new_superdirp, dot2);
put_inode(new_superdirp);
/*
if (next_new_superdirp == new_superdirp) {
put_inode(new_superdirp);
break;
}
*/
if (err_code == ELEAVEMOUNT) {
/* imitate that we are back at the root,
* cross device checked already on VFS */