Bugfix for 'mkdir x; mkdir y; mv x y'
This commit is contained in:
parent
af78f809ee
commit
1560fc9b94
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user