]> Git Repo - linux.git/blobdiff - fs/io-wq.h
Merge tag 'kvmarm-fixes-5.11-2' into kvmarm-master/next
[linux.git] / fs / io-wq.h
index 069496c6d4f946c2a9ed3edf42f1656b59657dbc..b158f8addcf3e1460af3caf9df1a6f69a84b5b0c 100644 (file)
@@ -59,6 +59,7 @@ static inline void wq_list_add_tail(struct io_wq_work_node *node,
                list->last->next = node;
                list->last = node;
        }
+       node->next = NULL;
 }
 
 static inline void wq_list_cut(struct io_wq_work_list *list,
@@ -128,8 +129,6 @@ static inline bool io_wq_is_hashed(struct io_wq_work *work)
        return work->flags & IO_WQ_WORK_HASHED;
 }
 
-void io_wq_cancel_all(struct io_wq *wq);
-
 typedef bool (work_cancel_fn)(struct io_wq_work *, void *);
 
 enum io_wq_cancel io_wq_cancel_cb(struct io_wq *wq, work_cancel_fn *cancel,
This page took 0.03043 seconds and 4 git commands to generate.