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);
|
next_new_superdirp = advance(&new_superdirp, dot2);
|
||||||
put_inode(new_superdirp);
|
put_inode(new_superdirp);
|
||||||
/*
|
|
||||||
if (next_new_superdirp == new_superdirp) {
|
if (next_new_superdirp == new_superdirp) {
|
||||||
put_inode(new_superdirp);
|
put_inode(new_superdirp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
if (err_code == ELEAVEMOUNT) {
|
if (err_code == ELEAVEMOUNT) {
|
||||||
/* imitate that we are back at the root,
|
/* imitate that we are back at the root,
|
||||||
* cross device checked already on VFS */
|
* cross device checked already on VFS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user