Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdaf34f
)
e2image: fix flag settings in e2image.h
author
Tomas Racek
<tracek@redhat.com>
Mon, 22 Apr 2013 03:48:58 +0000
(23:48 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 22 Apr 2013 03:49:04 +0000
(23:49 -0400)
This prevents from SIGSEGV when -s options is used.
Signed-off-by: Tomas Racek <tracek@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
lib/ext2fs/e2image.h
patch
|
blob
|
history
diff --git
a/lib/ext2fs/e2image.h
b/lib/ext2fs/e2image.h
index
c918529
..
5537980
100644
(file)
--- a/
lib/ext2fs/e2image.h
+++ b/
lib/ext2fs/e2image.h
@@
-19,7
+19,7
@@
/* Image flags */
#define E2IMAGE_INSTALL_FLAG 1
#define E2IMAGE_SCRAMBLE_FLAG 2
-#define E2IMAGE_IS_QCOW2_FLAG
3
+#define E2IMAGE_IS_QCOW2_FLAG
4
struct ext2_image_hdr {
__u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */