linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] e2image: fix crash when using e2image -I with a 64-bit file system
@ 2013-06-16  1:00 Theodore Ts'o
  0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2013-06-16  1:00 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: Theodore Ts'o

Addresses-Debian-Bug: #703067

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
 misc/e2image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/e2image.c b/misc/e2image.c
index 369c946..885a794 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -1171,7 +1171,7 @@ static void install_image(char *device, char *image_fn, int type)
 {
 	errcode_t retval;
 	ext2_filsys fs;
-	int open_flag = EXT2_FLAG_IMAGE_FILE;
+	int open_flag = EXT2_FLAG_IMAGE_FILE | EXT2_FLAG_64BITS;
 	int fd = 0;
 	io_manager	io_ptr;
 	io_channel	io;
-- 
1.7.12.rc0.22.gcdd159b


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-16  1:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-16  1:00 [PATCH] e2image: fix crash when using e2image -I with a 64-bit file system Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).