chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / kernel / fs / iso9660 / mount.c
index 51679ca0757913cbcecd6995eb73109e67c431fc..724128f592c292cf389b17390831bff05201e631 100644 (file)
@@ -11,7 +11,7 @@ struct cake_pile* drec_cache_pile;
 extern void
 iso9660_init_inode(struct v_superblock* vsb, struct v_inode* inode);
 
-uint32_t
+u32_t
 iso9660_rd_capacity(struct v_superblock* vsb)
 {
     struct iso_superblock* isovsb = (struct iso_superblock*)vsb->data;
@@ -92,7 +92,9 @@ done:
 int
 iso9660_unmount(struct v_superblock* vsb)
 {
-    // TODO clean up
+    vfree(vsb->data);
+
+    return 0;
 }
 
 void