diff --git a/fs/io-wq.c b/fs/io-wq.c index 8192a175173946507c4adeb4051bba5da43a7053..66edab9dd6d552ce1a305f3ef2b5b871a7f9033a 100644 --- a/fs/io-wq.c +++ b/fs/io-wq.c @@ -339,8 +339,7 @@ static void io_worker_handle_work(struct io_worker *worker) static inline bool io_wqe_run_queue(struct io_wqe *wqe) __must_hold(wqe->lock) { - if (!list_empty_careful(&wqe->work_list) && - !(wqe->flags & IO_WQE_FLAG_STALLED)) + if (!list_empty(&wqe->work_list) && !(wqe->flags & IO_WQE_FLAG_STALLED)) return true; return false; }