Whamcloud - gitweb
e2image: Add an assertion/sanity check in initialize_qcow2_image()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 05:04:48 +0000 (01:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jun 2018 05:04:48 +0000 (01:04 -0400)
commitc4a0742a07feffcf0648cd689e8458ff189fd4a6
treeaf4de305df9acd29f6939e483b60a6987e49050c
parent366d526f15ef06c0a832dee4abe2a0c0349adb92
e2image: Add an assertion/sanity check in initialize_qcow2_image()

This is mostly to shut up some coverity warnings, but in theory
fs->blocksize could have been corrupted outside of this function...

Fixes-Coverity-Bug: 1297492
Fixes-Coverity-Bug: 1297490
Fixes-Coverity-Bug: 1297488
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c