Index: uspace/srv/vfs/vfs_ops.c
===================================================================
--- uspace/srv/vfs/vfs_ops.c	(revision 3c664d678b80ac2e49e94051f441bd812aa3f0d5)
+++ uspace/srv/vfs/vfs_ops.c	(revision 2d3ddada69970e73410065f93cd44b473eac1db0)
@@ -592,4 +592,5 @@
 	}
 	vfs_file_t *file = vfs_file_get(fd);
+	assert(file);
 	file->node = node;
 	if (oflag & O_APPEND)
