diff options
author | Manuel Bentele | 2019-08-28 11:19:47 +0200 |
---|---|---|
committer | Manuel Bentele | 2019-08-28 11:19:47 +0200 |
commit | 61d6c3b067d07f11545b1acb36383c22f84cea37 (patch) | |
tree | 5c012b7c3af89197367644e010c0643d2cc7163f /block/blk-exec.c | |
parent | block: loop: fix coding style issues in file format subsystem (diff) | |
download | kernel-qcow2-linux-kernel-qcow2.tar.gz kernel-qcow2-linux-kernel-qcow2.tar.xz kernel-qcow2-linux-kernel-qcow2.zip |
block: loop: fix initialization issue in loop_set_status*kernel-qcow2
The loop_info structure is not initialized correctly if an old losetup
utility without file format support is used. In that case, the file format
type is not initalized and the LOOP_SET_STATUS* ioctl calls always fails.
This patch initalizes the loop file format in the backward compatibility
mode to the default RAW file format type and prevents the failing of the
LOOP_SET_STATUS* ioctl calls.
Signed-off-by: Manuel Bentele <development@manuel-bentele.de>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions