Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision 25becee86ea7008be79f32a90a0f8d5be900d26e)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 68086146d8354950f308b896983de82d31f260b3)
@@ -725,5 +725,5 @@
 	ipc_callid_t callid;
 	size_t len;
-	if (!ipc_data_write_receive(&callid, &len)) {
+	if (!ipc_data_read_receive(&callid, &len)) {
 		fat_node_put(nodep);
 		ipc_answer_0(callid, EINVAL);
