Loading fs/io_uring.c +2 −2 Original line number Diff line number Diff line Loading @@ -1295,7 +1295,7 @@ static struct io_kiocb *io_get_fallback_req(struct io_ring_ctx *ctx) struct io_kiocb *req; req = ctx->fallback_req; if (!test_and_set_bit_lock(0, (unsigned long *) ctx->fallback_req)) if (!test_and_set_bit_lock(0, (unsigned long *) &ctx->fallback_req)) return req; return NULL; Loading Loading @@ -1382,7 +1382,7 @@ static void __io_free_req(struct io_kiocb *req) if (likely(!io_is_fallback_req(req))) kmem_cache_free(req_cachep, req); else clear_bit_unlock(0, (unsigned long *) req->ctx->fallback_req); clear_bit_unlock(0, (unsigned long *) &req->ctx->fallback_req); } struct req_batch { Loading Loading
fs/io_uring.c +2 −2 Original line number Diff line number Diff line Loading @@ -1295,7 +1295,7 @@ static struct io_kiocb *io_get_fallback_req(struct io_ring_ctx *ctx) struct io_kiocb *req; req = ctx->fallback_req; if (!test_and_set_bit_lock(0, (unsigned long *) ctx->fallback_req)) if (!test_and_set_bit_lock(0, (unsigned long *) &ctx->fallback_req)) return req; return NULL; Loading Loading @@ -1382,7 +1382,7 @@ static void __io_free_req(struct io_kiocb *req) if (likely(!io_is_fallback_req(req))) kmem_cache_free(req_cachep, req); else clear_bit_unlock(0, (unsigned long *) req->ctx->fallback_req); clear_bit_unlock(0, (unsigned long *) &req->ctx->fallback_req); } struct req_batch { Loading