2011-06-15 06:42:42

by Kazuya Mio

[permalink] [raw]
Subject: [PATCH 09/11 RESEND] e4defrag: Use EXT2_SUPER_MAGIC instead of EXT4_SUPER_MAGIC

e2fsprogs has EXT2_SUPER_MAGIC defined for the magic number of
ext4 filesystem. e4defrag uses it instead of EXT4_SUPER_MAGIC.

Signed-off-by: Kazuya Mio <[email protected]>
---
misc/e4defrag.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/misc/e4defrag.c b/misc/e4defrag.c
index 6365103..b87aae9 100644
--- a/misc/e4defrag.c
+++ b/misc/e4defrag.c
@@ -91,9 +91,6 @@
#define FS_EXT4 "ext4"
#define ROOT_UID 0

-/* Magic number for ext4 */
-#define EXT4_SUPER_MAGIC 0xEF53