superblock: magic number should not be signed
authorAlan Cox <alan@linux.intel.com>
Sat, 28 Mar 2015 13:08:42 +0000 (13:08 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 28 Mar 2015 13:08:42 +0000 (13:08 +0000)
Kernel/include/kernel.h
Standalone/fuzix_fs.h

index 055665b..c1c00dd 100644 (file)
@@ -217,7 +217,7 @@ typedef struct direct {
  */
 #define FILESYS_TABSIZE 50
 typedef struct filesys { // note: exists in mem and on disk
-    int16_t       s_mounted;
+    uint16_t       s_mounted;
     uint16_t      s_isize;
     uint16_t      s_fsize;
     uint16_t      s_nfree;
index 3c48bf5..fabe099 100644 (file)
@@ -134,7 +134,7 @@ typedef struct cinode {
 } cinode, *inoptr;
 
 typedef struct filesys {
-    int16_t       s_mounted;
+    uint16_t      s_mounted;
     uint16_t      s_isize;
     uint16_t      s_fsize;
     int16_t       s_nfree;