#define FREE_MAP_SECTOR 0 /* Free map file inode sector. */
#define ROOT_DIR_SECTOR 1 /* Root directory file inode sector. */
-/* Disk used for filesystem. */
-extern struct disk *filesys_disk;
+/* Block device that contains the file system. */
+struct block *fs_device;
void filesys_init (bool format);
void filesys_done (void);
struct file *filesys_open (const char *name);
bool filesys_remove (const char *name);
-void filesys_self_test (void);
-
#endif /* filesys/filesys.h */