Commit 1e5d770
io_uring: get an active ref_node from files_data
An active ref_node always can be found in ctx->files_data, it's much
safer to get it this way instead of poking into files_data->ref_list.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent c993df5 commit 1e5d770
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6974 | 6974 | | |
6975 | 6975 | | |
6976 | 6976 | | |
6977 | | - | |
6978 | | - | |
6979 | | - | |
| 6977 | + | |
6980 | 6978 | | |
6981 | 6979 | | |
6982 | 6980 | | |
| |||
0 commit comments