Ticket #13401: 0001-ext2-Volume-check-some-more-value-for-ext2_super_blo.2.patch

File 0001-ext2-Volume-check-some-more-value-for-ext2_super_blo.2.patch, 799 bytes (added by wangxindsb, 8 years ago)

Remove the macro #define EXT2_BLOCK_GROUP_64BIT_SIZE

  • src/add-ons/kernel/file_systems/ext2/ext2.h

    From d912f3e1fa4a8c3d6c1b2b45c767335c0f0f3333 Mon Sep 17 00:00:00 2001
    From: wangxindsb <“wangxindsb@gmail.com”>
    Date: Thu, 30 Mar 2017 23:16:30 -0700
    Subject: [PATCH] ext2 Volume: check some more value for ext2_super_block
    
    ---
     src/add-ons/kernel/file_systems/ext2/ext2.h | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/src/add-ons/kernel/file_systems/ext2/ext2.h b/src/add-ons/kernel/file_systems/ext2/ext2.h
    index 2e7479e..2bc5f7f 100644
    a b struct ext2_super_block {  
    194194#define EXT2_STATE_INVALID                      0x02
    195195
    196196#define EXT2_BLOCK_GROUP_NORMAL_SIZE            32
    197 #define EXT2_BLOCK_GROUP_64BIT_SIZE             64
    198197
    199198// block group flags
    200199#define EXT2_BLOCK_GROUP_INODE_UNINIT   0x1