# \[PATCH v2 10/12\] e4defrag: Use EXT2\_SUPER\_MAGIC instead of EXT4\_SUPER\_MAGIC

- From: Kazuya Mio \<hidden\>
- Date: 2011-08-17 08:14:19 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2011/08/13412129
- Thread: https://ratatoskr.run/linux-ext4/2011/08/13412129/t.md

```text
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 <redacted>
---
 misc/e4defrag.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/misc/e4defrag.c b/misc/e4defrag.c
index f0a843e..ec1b15a 100644
--- a/misc/e4defrag.c
+++ b/misc/e4defrag.c
@@ -92,9 +92,6 @@
 #define FS_EXT4			"ext4"
 #define ROOT_UID		0
 
-/* Magic number for ext4 */
-#define EXT4_SUPER_MAGIC	0xEF53
```
