diff options
| author | Matthew Wilcox <[email protected]> | 2018-11-06 18:11:57 +0000 |
|---|---|---|
| committer | Matthew Wilcox <[email protected]> | 2018-11-16 21:38:49 +0000 |
| commit | 6d7cd8c1373746a93dc868ee9d38a82df78b38aa (patch) | |
| tree | 9093681b9b452e62a95805b3e00c2c46eef3d50f /lib/test_xarray.c | |
| parent | XArray tests: Correct some 64-bit assumptions (diff) | |
| download | kernel-6d7cd8c1373746a93dc868ee9d38a82df78b38aa.tar.gz kernel-6d7cd8c1373746a93dc868ee9d38a82df78b38aa.zip | |
dax: Remove optimisation from dax_lock_mapping_entry
Skipping some of the revalidation after we sleep can lead to returning
a mapping which has already been freed. Just drop this optimisation.
Reported-by: Dan Williams <[email protected]>
Fixes: 9f32d221301c ("dax: Convert dax_lock_mapping_entry to XArray")
Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
