summaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorKornilios Kourtis <kornilios@gmail.com>2019-06-02 11:50:00 +0200
committerJens Axboe <axboe@kernel.dk>2019-06-03 14:52:01 -0600
commitfb34ae6d37f45543971b83208d436890fe95f643 (patch)
treeb58a05254c742d2b3eb0347e1946732f0f5b22a0 /src/compat.h
parentf8865bc65feced660a3075175200a60968187bba (diff)
Do not assume p->{cq,sq}_off.head is 0
Ring memory is released by umapping {cq,sq}->khead, which assumes that p->{cq,sq}_off.head will always be 0. Add another field to for the mmaped region and use that instead of ->khead when umapping. Signed-off-by: Kornilios Kourtis <kkourt@kkourt.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/compat.h')
0 files changed, 0 insertions, 0 deletions