Commit 1642b44
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>1 parent 7778877 commit 1642b44
1 file changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7231 | 7231 | | |
7232 | 7232 | | |
7233 | 7233 | | |
| 7234 | + | |
| 7235 | + | |
| 7236 | + | |
| 7237 | + | |
| 7238 | + | |
| 7239 | + | |
| 7240 | + | |
| 7241 | + | |
| 7242 | + | |
| 7243 | + | |
7234 | 7244 | | |
7235 | 7245 | | |
7236 | 7246 | | |
| |||
7758 | 7768 | | |
7759 | 7769 | | |
7760 | 7770 | | |
7761 | | - | |
7762 | | - | |
7763 | | - | |
7764 | | - | |
7765 | | - | |
| 7771 | + | |
7766 | 7772 | | |
7767 | 7773 | | |
7768 | 7774 | | |
| |||
7918 | 7924 | | |
7919 | 7925 | | |
7920 | 7926 | | |
7921 | | - | |
7922 | | - | |
7923 | | - | |
7924 | | - | |
7925 | | - | |
| 7927 | + | |
7926 | 7928 | | |
7927 | 7929 | | |
7928 | 7930 | | |
| |||
0 commit comments