diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-04 13:52:03 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-04 08:05:46 -0700 |
commit | 5ea5dd45844d1b727ab2a76f47d6e9aa65d1e921 (patch) | |
tree | e0c98b883f1850c61a85d6b3ae9e93639d8db74a /fs/overlayfs | |
parent | 7335e3bf9d0a92be09bb4f38d06ab22c40f0fead (diff) | |
download | linux-5ea5dd45844d1b727ab2a76f47d6e9aa65d1e921.tar.bz2 |
io_uring: inline io_read()'s iovec freeing
io_read() has not the simpliest control flow with a lot of jumps and
it's hard to read. One of those is a out_free: label, which frees iovec.
However, from the middle of io_read() iovec is NULL'ed and so
kfree(iovec) is no-op, it leaves us with two place where we can inline
it and further clean up the code.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions