diff options
author | Pavel Begunkov <[email protected]> | 2020-07-16 23:28:33 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-07-24 13:00:44 -0600 |
commit | 06ef3608b0eed673fcbc62cf74c8d3ad0007a337 (patch) | |
tree | 39ced7885ecf8b833c3cbe5572203f96e04c44e5 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 57f1a64958543fe18a7fe0addbfb31bb2ceeaea2 (diff) |
io_uring: simplify file ref tracking in submission state
Currently, file refs in struct io_submit_state are tracked with 2 vars:
@has_refs -- how many refs were initially taken
@used_refs -- number of refs used
Replace it with a single variable counting how many refs left at the
current moment.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions