+int fuse_exfat_unlink(const char *path)
+{
+ struct exfat_node* node;
+ int rc;
+
+ exfat_debug("[fuse_exfat_unlink] %s", path);
+
+ rc = exfat_lookup(&ef, &node, path);
+ if (rc != 0)
+ return rc;
+
+ rc = exfat_unlink(&ef, node);
+ exfat_put_node(&ef, node);
+ return rc;
+}
+
+int fuse_exfat_rmdir(const char *path)
+{
+ struct exfat_node* node;
+ int rc;
+
+ exfat_debug("[fuse_exfat_rmdir] %s", path);
+
+ rc = exfat_lookup(&ef, &node, path);
+ if (rc != 0)
+ return rc;
+
+ rc = exfat_rmdir(&ef, node);
+ exfat_put_node(&ef, node);
+ return rc;
+}
+