aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/tune2fs.c
diff options
context:
space:
mode:
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2012-04-13 16:39:18 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2012-04-13 16:39:18 +0200
commit0b2b0f31a38d77ebfb2a6416011562687ef58191 (patch)
tree7d51260fefeefd04bab934817a24e200f4297ae9 /e2fsprogs/tune2fs.c
parentcaf5768154301697430f0a3718838967d0f55f95 (diff)
downloadbusybox-0b2b0f31a38d77ebfb2a6416011562687ef58191.tar.gz
busybox-0b2b0f31a38d77ebfb2a6416011562687ef58191.tar.bz2
Create and use our own copy of linux/ext2_fs.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/tune2fs.c')
-rw-r--r--e2fsprogs/tune2fs.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index 8da7432d9..841d58a9c 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -8,13 +8,7 @@
*/
#include "libbb.h"
#include <linux/fs.h>
-/*
- * Work around linux/ext2_fs.h breakage.
- * See https://bugzilla.kernel.org/show_bug.cgi?id=42986.
- */
-typedef mode_t bb__umode_t;
-#define umode_t bb__umode_t
-#include <linux/ext2_fs.h>
+#include "bb_linux_ext2_fs.h"
// storage helpers
char BUG_wrong_field_size(void);