the first patch is code clean. the second is the main one, which refactors linkchain failure path to fix a problem, detail in the commit message. v1-->v2 - update patch with Pavel's suggestion. v2-->v3 - move req->result initiation to better place - add helpers for failing link node Hao Xu (2): io_uring: remove redundant req_set_fail() io_uring: fix failed linkchain code logic fs/io_uring.c | 62 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 15 deletions(-) -- 2.24.4