diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-04-29 05:29:37 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-04-29 15:01:36 +0300 |
commit | 69edf98be844375807f299397c516fb1e962b3cc (patch) | |
tree | fb05546b83f792a1aef62d3fd66daa9fec342b30 /drivers/fpga/tests/fpga-bridge-test.c | |
parent | 730d837979bac203c786f2c5b0707f5426275c0d (diff) | |
download | linux-69edf98be844375807f299397c516fb1e962b3cc.tar.xz |
ublk: decouple zero copy from user copy
UBLK_F_USER_COPY and UBLK_F_SUPPORT_ZERO_COPY are two different
features, and shouldn't be coupled together.
Commit 1f6540e2aabb ("ublk: zc register/unregister bvec") enables
user copy automatically in case of UBLK_F_SUPPORT_ZERO_COPY, this way
isn't correct.
So decouple zero copy from user copy, and use independent helper to
check each one.
Fixes: 1f6540e2aabb ("ublk: zc register/unregister bvec")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250429022941.1718671-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions