]> 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)
commit8ed138f92892b88e70b507e84eb600821f52c355
tree2fe9c866cbf59c06ee4c6d80b4f6eb3d27f3342b
parent2c4f0006443269ba8dcc8e8ff9ad69a0812e9f1d
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