Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision 80e84829d5f95695ec3a7d20d330b66f1ff2a4aa)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 45f244bcf974e8918e7aa6d4c6d010dfdfa7be90)
@@ -312,7 +312,7 @@
 }
 
-static bool fat_destroy(void *node)
-{
-	return false;	/* not supported at the moment */
+static int fat_destroy(void *node)
+{
+	return ENOTSUP;	/* not supported at the moment */
 }
 
Index: uspace/srv/fs/tmpfs/tmpfs_ops.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 80e84829d5f95695ec3a7d20d330b66f1ff2a4aa)
+++ uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 45f244bcf974e8918e7aa6d4c6d010dfdfa7be90)
@@ -76,5 +76,5 @@
 static bool tmpfs_link_node(void *, void *, const char *);
 static int tmpfs_unlink_node(void *, void *);
-static bool tmpfs_destroy_node(void *);
+static int tmpfs_destroy_node(void *);
 
 /* Implementation of helper functions. */
@@ -375,5 +375,5 @@
 }
 
-bool tmpfs_destroy_node(void *nodep)
+int tmpfs_destroy_node(void *nodep)
 {
 	tmpfs_dentry_t *dentry = (tmpfs_dentry_t *) nodep;
@@ -391,5 +391,5 @@
 		free(dentry->data);
 	free(dentry);
-	return true;
+	return EOK;
 }
 
@@ -580,4 +580,5 @@
 	dev_handle_t dev_handle = (dev_handle_t)IPC_GET_ARG1(*request);
 	fs_index_t index = (fs_index_t)IPC_GET_ARG2(*request);
+	int rc;
 
 	link_t *hlp;
@@ -590,6 +591,6 @@
 	tmpfs_dentry_t *dentry = hash_table_get_instance(hlp, tmpfs_dentry_t,
 	    dh_link);
-	tmpfs_destroy_node(dentry);
-	ipc_answer_0(rid, EOK);
+	rc = tmpfs_destroy_node(dentry);
+	ipc_answer_0(rid, rc);
 }
 
