From: Theodore Ts'o <tytso@mit.edu>
To: Ext4 Developers List <linux-ext4@vger.kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Subject: [PATCH] e2image: fix crash when using e2image -I with a 64-bit file system
Date: Sat, 15 Jun 2013 21:00:27 -0400 [thread overview]
Message-ID: <1371344427-18466-1-git-send-email-tytso@mit.edu> (raw)
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
reply other threads:[~2013-06-16 1:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371344427-18466-1-git-send-email-tytso@mit.edu \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).