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