kernel.h: don't assume bool is byte sized for superblock header
authorAlan Cox <alan@linux.intel.com>
Tue, 13 Sep 2016 10:57:10 +0000 (11:57 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 13 Sep 2016 10:57:10 +0000 (11:57 +0100)
Kernel/include/kernel.h

index c75814e..b1be3a0 100644 (file)
@@ -262,7 +262,7 @@ typedef struct filesys { // note: exists in mem and on disk
     blkno_t       s_free[FILESYS_TABSIZE];
     int16_t       s_ninode;
     uint16_t      s_inode[FILESYS_TABSIZE];
-    bool          s_fmod;
+    uint8_t       s_fmod;
     uint8_t       s_timeh;     /* bits 32-40: FIXME - wire up */
     uint32_t      s_time;
     blkno_t       s_tfree;