]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add a helper for setting a ref node
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 30 Dec 2020 21:34:14 +0000 (21:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Dec 2020 02:35:53 +0000 (19:35 -0700)
commit1642b4450d20e31439c80c28256c8eee08684698
tree2fe9c866cbf59c06ee4c6d80b4f6eb3d27f3342b
parent77788775c7132a8d93c6930ab1bd84fc743c7cb7
io_uring: add a helper for setting a ref node

Setting a new reference node to a file data is not trivial, don't repeat
it, add and use a helper.

Cc: stable@vger.kernel.org # 5.6+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c