BNX2X: spatch signed typedefs
[akaros.git] / kern / include / ext2fs.h
index 4ab62d5..9c9e504 100644 (file)
@@ -238,7 +238,7 @@ struct ext2_inode {
 struct ext2_dirent {
        uint32_t                                        dir_inode;                      /* inode */
        uint16_t                                        dir_reclen;                     /* len, including padding */
-       uint8_t                                         dir_namelen;            /* len of dir_name */
+       uint8_t                                         dir_namelen;            /* len of dir_name w/o \0 */
        uint8_t                                         dir_filetype;
        uint8_t                                         dir_name[256];          /* might be < 255 on disc */
 };
@@ -256,7 +256,9 @@ struct ext2_sb_info {
        unsigned int                            nr_bgs;
 };
 
-/* Inode in-memory data.  This stuff is in cpu-native endianness */
+/* Inode in-memory data.  This stuff is in cpu-native endianness.  If we start
+ * using the data in the actual inode and in the buffer cache, change
+ * ext2_my_bh() and its two callers.  Assume this data is dirty. */
 struct ext2_i_info {
        uint32_t                                        i_block[15];            /* list of blocks reserved*/
 };