Index: uspace/srv/vfs/vfs_ops.c
===================================================================
--- uspace/srv/vfs/vfs_ops.c	(revision 8d6a41cc7b5319a4afd5de1393888f5024781b11)
+++ uspace/srv/vfs/vfs_ops.c	(revision 45ffe9faaef82875e304653fac4c7cb31e499558)
@@ -358,7 +358,4 @@
 	fibril_mutex_unlock(&fs_list_lock);
 	
-	/* Do the mount */
-	vfs_mount_internal(rid, service_id, fs_handle, mp, opts);
-
 	/* Add the filesystem info to the list of mounted filesystems */
 	mtab_ent_t *mtab_ent = malloc(sizeof(mtab_ent_t));
@@ -387,4 +384,7 @@
 
 	free(mp);
+
+	/* Do the mount */
+	vfs_mount_internal(rid, service_id, fs_handle, mp, opts);
 
 	/* Acknowledge that we know fs_name. */
