]> 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)
commitb59fe53bfb53b1bb1ab897612e0a22787d77978d
treee8a1ce88ae5cef29db769d7ae71e983f5fe27ac0
parent8319ba521ed630013c98d1af8480944dc1b451c3
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