OSDN Git Service

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)
commit8fef80bf56a49c60b457dedb99fd6c5279a5dbe1
treeddd846929a31d804cf403f030d4a820f0e26135d
parent99bc4c38537d774e667d043c520914082da19abf
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