feat: better rtc framework which aims to remove single rtc restrictions.
[lunaix-os.git] / lunaix-os / kernel / fs / iso9660 / mount.c
index 35ebb4b3d53bc8219e909f27bee4f82e37fda265..19895609567b4647c1ea204e1ae21883b41465cd 100644 (file)
@@ -27,7 +27,7 @@ iso9660_mount(struct v_superblock* vsb, struct v_dnode* mount_point)
     u32_t lba = 16;
     int errno = 0;
     do {
-        errno = dev->read(dev, vdesc, ISO9660_BLKSZ * lba, ISO9660_BLKSZ);
+        errno = dev->ops.read(dev, vdesc, ISO9660_BLKSZ * lba, ISO9660_BLKSZ);
         if (errno < 0) {
             errno = EIO;
             goto done;
@@ -93,6 +93,8 @@ int
 iso9660_unmount(struct v_superblock* vsb)
 {
     vfree(vsb->data);
+
+    return 0;
 }
 
 void