summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/include
ModeNameSize
-rw-r--r--atomic.h1997logplain
-rw-r--r--futextest.h7665logplain
-rw-r--r--logging.h3877logplain
oid'>b9c39916a4397b1eb628e07e4fc6aff91219e393 /include/soc/fsl/qe parenta4685d2f58e2230d4e27fb2ee581d7ea35e5d046 (diff)
block: fix use after free in __blkdev_direct_IO
We can't dereference the dio structure after submitting the last bio for this request, as I/O completion might have happened before the code is run. Introduce a local is_sync variable instead. Fixes: 542ff7bf ("block: new direct I/O implementation") Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Matias Bjørling <m@bjorling.me> Tested-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/soc/fsl/qe')