diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-04-13 16:39:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-04-13 16:39:18 +0200 |
commit | 0b2b0f31a38d77ebfb2a6416011562687ef58191 (patch) | |
tree | 7d51260fefeefd04bab934817a24e200f4297ae9 /util-linux/mkfs_ext2.c | |
parent | caf5768154301697430f0a3718838967d0f55f95 (diff) | |
download | busybox-w32-0b2b0f31a38d77ebfb2a6416011562687ef58191.tar.gz busybox-w32-0b2b0f31a38d77ebfb2a6416011562687ef58191.tar.bz2 busybox-w32-0b2b0f31a38d77ebfb2a6416011562687ef58191.zip |
Create and use our own copy of linux/ext2_fs.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_ext2.c')
-rw-r--r-- | util-linux/mkfs_ext2.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index 759bb0a7a..2d9d72000 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c | |||
@@ -48,13 +48,7 @@ | |||
48 | 48 | ||
49 | #include "libbb.h" | 49 | #include "libbb.h" |
50 | #include <linux/fs.h> | 50 | #include <linux/fs.h> |
51 | /* | 51 | #include "bb_linux_ext2_fs.h" |
52 | * Work around linux/ext2_fs.h breakage. | ||
53 | * See https://bugzilla.kernel.org/show_bug.cgi?id=42986. | ||
54 | */ | ||
55 | typedef mode_t bb__umode_t; | ||
56 | #define umode_t bb__umode_t | ||
57 | #include <linux/ext2_fs.h> | ||
58 | 52 | ||
59 | #define ENABLE_FEATURE_MKFS_EXT2_RESERVED_GDT 0 | 53 | #define ENABLE_FEATURE_MKFS_EXT2_RESERVED_GDT 0 |
60 | #define ENABLE_FEATURE_MKFS_EXT2_DIR_INDEX 1 | 54 | #define ENABLE_FEATURE_MKFS_EXT2_DIR_INDEX 1 |