]> 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)
commit12ea6160a19c5de24f494999af682e9047dda401
treeddd846929a31d804cf403f030d4a820f0e26135d
parentd441800435f1511165a6c68b91e54af6969e183e
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