1 | --- lib/ext2.c.orig |
---|
2 | +++ lib/ext2.c |
---|
3 | @@ -139,8 +139,10 @@ |
---|
4 | if(! (flags & ~EXT2_NOCOMPR_FL) ) |
---|
5 | x_addprop(f, "NoCompBlock"); |
---|
6 | #endif |
---|
7 | +#ifdef EXT2_ECOMPR_FL |
---|
8 | if(! (flags & ~EXT2_ECOMPR_FL) ) |
---|
9 | x_addprop(f, "CompError"); |
---|
10 | +#endif |
---|
11 | if(! (flags & ~EXT2_BTREE_FL) ) |
---|
12 | x_addprop(f, "BTree"); |
---|
13 | if(! (flags & ~EXT2_INDEX_FL) ) |
---|
14 | @@ -225,8 +227,10 @@ |
---|
15 | if( e2prop_get(f, "NoCompBlock", (char **)&tmp) == 0 ) |
---|
16 | flags |= EXT2_NOCOMPR_FL ; |
---|
17 | #endif |
---|
18 | +#ifdef EXT2_ECOMPR_FL |
---|
19 | if( e2prop_get(f, "CompError", (char **)&tmp) == 0 ) |
---|
20 | flags |= EXT2_ECOMPR_FL ; |
---|
21 | +#endif |
---|
22 | if( e2prop_get(f, "BTree", (char **)&tmp) == 0 ) |
---|
23 | flags |= EXT2_BTREE_FL ; |
---|
24 | if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 ) |
---|