Fix link errors with GCC 10 and binutils 2.34 on Fedora
[pintos-anon] / src / filesys / filesys.h
index caef83c45c17f4986a3fc8838769a64d7a1e7606..455ac7274a08e15abd0749efe3446842d48f8032 100644 (file)
@@ -8,8 +8,8 @@
 #define FREE_MAP_SECTOR 0       /* Free map file inode sector. */
 #define ROOT_DIR_SECTOR 1       /* Root directory file inode sector. */
 
-/* Disk used for file system. */
-extern struct disk *filesys_disk;
+/* Block device that contains the file system. */
+extern struct block *fs_device;
 
 void filesys_init (bool format);
 void filesys_done (void);