OSDN Git Service

io_uring: use proper references for fallback_req locking
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Thu, 30 Apr 2020 00:47:50 +0000 (17:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 May 2020 04:24:27 +0000 (22:24 -0600)
commitdd461af65946de060bff2dab08a63676d2731afe
tree58961aab9d4e7060f29f81b73f2a8c02c8b64091
parent490e89676a523c688343d6cb8ca5f5dc476414df
io_uring: use proper references for fallback_req locking

Use ctx->fallback_req address for test_and_set_bit_lock() and
clear_bit_unlock().

Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c