Whamcloud - gitweb
e2image: fix flag settings in e2image.h
authorTomas Racek <tracek@redhat.com>
Mon, 22 Apr 2013 03:48:58 +0000 (23:48 -0400)
committerTheodore 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

index c918529..5537980 100644 (file)
@@ -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 */