Skip to contentSkip to conversation

e4defrag: Use EXT2_SUPER_MAGIC instead of EXT4_SUPER_MAGIC

PATCH Superseded Kazuya Mio 1 participant 1 message Aug 17, 2011

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Kazuya Mio

author
#0 lore raw

PATCH v2 10/12 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.

---
 misc/e4defrag.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
misc/e4defrag.c +0 -2
index f0a843e..ec1b15a 100644
@@ -92,9 +92,6 @@
 #define FS_EXT4			"ext4"
 #define ROOT_UID		0
 
-/* Magic number for ext4 */
-#define EXT4_SUPER_MAGIC	0xEF53