summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-06-20 18:10:00 +0300
committerJens Axboe <axboe@kernel.dk>2025-07-01 01:02:46 +0300
commit2b53d4e994b934796b7376150130ab2b3577fa1e (patch)
treea29c310dddc8d70dabb48025c41f5168996ff68c /net/lapb/lapb_iface.c
parentbe4f1b619f5a7fa1f5641c780bfec1a156c279cb (diff)
downloadlinux-2b53d4e994b934796b7376150130ab2b3577fa1e.tar.xz
ublk: consolidate UBLK_IO_FLAG_{ACTIVE,OWNED_BY_SRV} checks
UBLK_IO_FLAG_ACTIVE and UBLK_IO_FLAG_OWNED_BY_SRV are mutually exclusive. So just check that UBLK_IO_FLAG_OWNED_BY_SRV is set in __ublk_ch_uring_cmd(); that implies UBLK_IO_FLAG_ACTIVE is unset. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250620151008.3976463-7-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions