summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorManuel Bentele2019-08-28 11:19:47 +0200
committerManuel Bentele2019-08-28 11:19:47 +0200
commit61d6c3b067d07f11545b1acb36383c22f84cea37 (patch)
tree5c012b7c3af89197367644e010c0643d2cc7163f /usr
parentblock: loop: fix coding style issues in file format subsystem (diff)
downloadkernel-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 'usr')
0 files changed, 0 insertions, 0 deletions