diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-08-20 11:34:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-20 14:36:19 +0300 |
commit | 867a23eab52847d41a0a6eae41a64d76de7782a8 (patch) | |
tree | 48d204ce4cf3ac11de1ca386d11105cb0a3e9355 /fs/io-wq.c | |
parent | f261c16861b82951bd2125706660ce4602930563 (diff) | |
download | linux-867a23eab52847d41a0a6eae41a64d76de7782a8.tar.xz |
io_uring: kill extra iovec=NULL in import_iovec()
If io_import_iovec() returns an error, return iovec is undefined and
must not be used, so don't set it to NULL when failing.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions