]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBUNTU: SAUCE: hio: Fix incorrect use of enum req_opf values
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 7 Jul 2017 12:59:08 +0000 (07:59 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Feb 2021 07:25:36 +0000 (08:25 +0100)
commit876dc551c50c1bef23f4216862c099c6a7b12097
tree404708ebdc2dcaa891b2b2cce42696ee1a0bd3cd
parent8a1e66e5492f4b8c3ca0327972d83f0b6eb22bbf
UBUNTU: SAUCE: hio: Fix incorrect use of enum req_opf values

BugLink: http://bugs.launchpad.net/bugs/1701316
Patch from Huawei to fix incorrect use of enumerated values for
bio operations as bitmasks. A reordering of the enum in 4.10
caused a change in behavior which has been leading to data
corruption.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
ubuntu/hio/hio.c