io_uring/notif: add constant for ubuf_info flags
[linux-block.git] / io_uring / notif.c
index e1846a25dde16369706ca8e8dd6950ab6835e9e3..d3e703c37aba83535a4f199329aae2b482d81e04 100644 (file)
@@ -79,7 +79,7 @@ struct io_kiocb *io_alloc_notif(struct io_ring_ctx *ctx)
        notif->io_task_work.func = io_req_task_complete;
 
        nd = io_notif_to_data(notif);
-       nd->uarg.flags = SKBFL_ZEROCOPY_FRAG | SKBFL_DONT_ORPHAN;
+       nd->uarg.flags = IO_NOTIF_UBUF_FLAGS;
        nd->uarg.callback = io_tx_ubuf_callback;
        refcount_set(&nd->uarg.refcnt, 1);
        return notif;