Commit 491af20
ublk: remove "can't touch 'ublk_io' any more" comments
The struct ublk_io is in fact accessed in __ublk_complete_rq() after the
comment. But it's not racy to access the ublk_io between clearing its
UBLK_IO_FLAG_OWNED_BY_SRV flag and completing the request, as no other
thread can use the ublk_io in the meantime.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 2feca79 commit 491af20
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3349 | 3349 | | |
3350 | 3350 | | |
3351 | 3351 | | |
3352 | | - | |
3353 | 3352 | | |
3354 | 3353 | | |
3355 | 3354 | | |
| |||
3681 | 3680 | | |
3682 | 3681 | | |
3683 | 3682 | | |
3684 | | - | |
3685 | 3683 | | |
3686 | 3684 | | |
3687 | 3685 | | |
| |||
0 commit comments