Skip to contentSkip to conversation

Enable 64-bitness in e2image.c

PATCH New Nick Dokos 1 participant 1 message Apr 6, 2009

lore
Share & tools
lore

Nick Dokos

author
#0 lore raw

PATCH 1/1 Enable 64-bitness in e2image.c

I tried to use e2image on a 32TiB FS and was getting errors.

Add EXT2_FLAG_NEW_BITMAPS to the open_flags for the device.

---
 misc/e2image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
misc/e2image.c +1 -1
index fb92881..5c4dde7 100644
@@ -625,7 +625,7 @@ int main (int argc, char ** argv)
 	errcode_t retval;
 	ext2_filsys fs;
 	char *image_fn;
-	int open_flag = 0;
+	int open_flag = EXT2_FLAG_NEW_BITMAPS;
 	int raw_flag = 0;
 	int install_flag = 0;
 	int scramble_flag = 0;
Signature · 1 line
1.6.0.3