Index: uspace/lib/libc/generic/vfs/vfs.c
===================================================================
--- uspace/lib/libc/generic/vfs/vfs.c	(revision c08c3551d7ebf1d63111a85064992ce95ac841a1)
+++ uspace/lib/libc/generic/vfs/vfs.c	(revision f2d2c7ba676ff1a37b6198b134c840dd09e1d11b)
@@ -156,5 +156,5 @@
 
 int mount(const char *fs_name, const char *mp, const char *dev,
-	const unsigned int flags)
+    const char *opts, const unsigned int flags)
 {
 	int res;
@@ -186,4 +186,13 @@
 	}
 	
+	rc = ipc_data_write_start(vfs_phone, (void *) opts, str_size(opts));
+	if (rc != EOK) {
+		async_wait_for(req, NULL);
+		async_serialize_end();
+		futex_up(&vfs_phone_futex);
+		free(mpa);
+		return (int) rc;
+	}
+
 	rc = ipc_data_write_start(vfs_phone, (void *) fs_name, str_size(fs_name));
 	if (rc != EOK) {
