From: Ben Gras Date: Thu, 31 May 2007 13:37:38 +0000 (+0000) Subject: Bugfix for 'mkdir x; mkdir y; mv x y' X-Git-Tag: v3.1.3a^2~3 X-Git-Url: http://zhaoyanbai.com/repos/cppcheck-error.log?a=commitdiff_plain;h=1560fc9b948f77e07d40626bf316fd482366f40e;p=minix.git Bugfix for 'mkdir x; mkdir y; mv x y' --- diff --git a/servers/mfs/link.c b/servers/mfs/link.c index 13db3af03..c9fcf307f 100644 --- a/servers/mfs/link.c +++ b/servers/mfs/link.c @@ -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 */