]> Zhao Yanbai Git Server - minix.git/commitdiff
Bugfix for 'mkdir x; mkdir y; mv x y'
authorBen Gras <ben@minix3.org>
Thu, 31 May 2007 13:37:38 +0000 (13:37 +0000)
committerBen Gras <ben@minix3.org>
Thu, 31 May 2007 13:37:38 +0000 (13:37 +0000)
servers/mfs/link.c

index 13db3af031164d2274450ce530f40a4e03ce0ee4..c9fcf307f1e43b7d719e6af33d010697911cbca0 100644 (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 */