diff options
author | Kanchan Joshi <joshi.k@samsung.com> | 2022-04-22 15:40:48 +0530 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-24 18:29:33 -0600 |
commit | 4ffaa94b9c047fe0e82b1f271554f31f0e2e2867 (patch) | |
tree | 34aba8c28ce18d4a86fabfbec72860704c4fe916 /fs/udf/misc.c | |
parent | 0200ce6a57c5de802f4e438485c14cc9d63d5f4b (diff) | |
download | linux-4ffaa94b9c047fe0e82b1f271554f31f0e2e2867.tar.gz linux-4ffaa94b9c047fe0e82b1f271554f31f0e2e2867.tar.bz2 linux-4ffaa94b9c047fe0e82b1f271554f31f0e2e2867.zip |
io_uring: cleanup error-handling around io_req_complete
Move common error-handling to io_req_complete, so that various callers
avoid repeating that. Few callers (io_tee, io_splice) require slightly
different handling. These are changed to use __io_req_complete instead.
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220422101048.419942-1-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/udf/misc.c')
0 files changed, 0 insertions, 0 deletions