]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add cleanup for openat()/statx()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 7 Feb 2020 20:59:53 +0000 (23:59 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Feb 2020 20:06:58 +0000 (13:06 -0700)
commitf61932aa1f6c4b69280417b354c8341abb690d89
treeddd846929a31d804cf403f030d4a820f0e26135d
parente27ba219edebfc21654aefa8c790e337fdf5fbbb
io_uring: add cleanup for openat()/statx()

openat() and statx() may have allocated ->open.filename, which should be
be put. Add cleanup handlers for them.

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