Second Extended Filesystem (ext2) and other improvements (#33)
[lunaix-os.git] / lunaix-os / kernel / fs / iso9660 / file.c
index 23c40663a58a96983aae8f7186d1fdc0e5eb95f5..b1ac0302525bd6e698402bd9fcf753ebb1fe8a9b 100644 (file)
@@ -1,5 +1,5 @@
 #include <lunaix/fs.h>
 #include <lunaix/fs.h>
-#include <lunaix/fs/iso9660.h>
+#include "iso9660.h"
 #include <lunaix/mm/valloc.h>
 #include <lunaix/spike.h>
 
 #include <lunaix/mm/valloc.h>
 #include <lunaix/spike.h>
 
@@ -101,8 +101,8 @@ iso9660_write_page(struct v_inode* inode, void* buffer, size_t fpos)
 }
 
 int
 }
 
 int
-iso9660_seek(struct v_inode* inode, size_t offset)
+iso9660_seek(struct v_file* file, size_t offset)
 {
 {
-    // TODO
+    file->f_pos = offset;
     return 0;
 }
\ No newline at end of file
     return 0;
 }
\ No newline at end of file