]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: clean file_data access in files_register
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 10 Oct 2020 17:34:14 +0000 (18:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Oct 2020 18:49:25 +0000 (12:49 -0600)
commit20f6006bede48153ff0c77e2edc53ff582c6ded4
tree0108d7c77c871eeba3e09b5e016137a1eb674bfe
parent925cdbf683336a53789aa299a0940c567275cbe8
io_uring: clean file_data access in files_register

Keep file_data in a local var and replace with it complex references
such as ctx->file_data.

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