Index: uspace/srv/fs/mfs/mfs_ops.c
===================================================================
--- uspace/srv/fs/mfs/mfs_ops.c	(revision df3caec54044190645f17dd3758c6f48eefbf7ca)
+++ uspace/srv/fs/mfs/mfs_ops.c	(revision 4c3ad56e80dfd7bc6ebefb6dfcae7b8df95765f5)
@@ -384,9 +384,7 @@
 	if (flags & L_DIRECTORY) {
 		ino_i->i_mode = S_IFDIR;
-		ino_i->i_nlinks = 2; /* This accounts for the '.' dentry */
-	} else {
+		ino_i->i_nlinks = 1; /* This accounts for the '.' dentry */
+	} else
 		ino_i->i_mode = S_IFREG;
-		ino_i->i_nlinks = 1;
-	}
 
 	ino_i->i_uid = 0;
@@ -675,4 +673,7 @@
 	if (r != EOK)
 		goto exit_error;
+
+	child->ino_i->i_nlinks++;
+	child->ino_i->dirty = true;
 
 	if (S_ISDIR(child->ino_i->i_mode)) {
