aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-05-05 15:31:42 +0000
committerJens Axboe <[email protected]>2023-05-12 15:09:06 +0000
commite485bd9e2c419142430ae6fe3e8f64e3059aef50 (patch)
treec5485b97153320e7ee110930a96fa9a4af5e3f41 /lib/debugobjects.c
parentblock/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE (diff)
downloadkernel-e485bd9e2c419142430ae6fe3e8f64e3059aef50.tar.gz
kernel-e485bd9e2c419142430ae6fe3e8f64e3059aef50.zip
ublk: fix command op code check
In case of CONFIG_BLKDEV_UBLK_LEGACY_OPCODES, type of cmd opcode could be 0 or 'u'; and type can only be 'u' if CONFIG_BLKDEV_UBLK_LEGACY_OPCODES isn't set. So fix the wrong check. Fixes: 2d786e66c966 ("block: ublk: switch to ioctl command encoding") Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions