diff options
author | Manuel Bentele | 2019-08-28 11:19:47 +0200 |
---|---|---|
committer | Manuel Bentele | 2019-08-28 11:26:40 +0200 |
commit | f9b4646c47caf5c123a32d24cf3d84bb2928771b (patch) | |
tree | 47580e83094d0f2ad792af67a47f086bea182786 /drivers/acpi/executer/excreate.c | |
parent | block: loop: fix coding style issues in file format subsystem (diff) | |
download | kernel-qcow2-linux-4.19.y.tar.gz kernel-qcow2-linux-4.19.y.tar.xz kernel-qcow2-linux-4.19.y.zip |
block: loop: fix initialization issue in loop_set_status*kernel-qcow2-linux-4.19.y
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 'drivers/acpi/executer/excreate.c')
0 files changed, 0 insertions, 0 deletions