io_uring: flush offloaded and delayed task_work on exit
[platform/kernel/linux-starfive.git] / block / bsg-lib.c
index 435c323..b3acdbd 100644 (file)
@@ -26,7 +26,7 @@ struct bsg_set {
 };
 
 static int bsg_transport_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr,
-               fmode_t mode, unsigned int timeout)
+               bool open_for_write, unsigned int timeout)
 {
        struct bsg_job *job;
        struct request *rq;