]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove empty cleanup of OP_OPEN* reqs
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jul 2020 09:46:50 +0000 (12:46 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 19:00:44 +0000 (13:00 -0600)
commit4a04e0fc94d5b60db46273fe448548a752b4104d
treee8a1ce88ae5cef29db769d7ae71e983f5fe27ac0
parent8890d64e3b9f2eb7cfba8b4c91e84914f981f937
io_uring: remove empty cleanup of OP_OPEN* reqs

A switch in __io_clean_op() doesn't have default, it's pointless to list
opcodes that doesn't do any cleanup. Remove IORING_OP_OPEN* from there.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c