mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ad428cdb52
The checks in __bdev_dax_supported() helped mitigate a potential data corruption bug in the pmem driver's handling of section alignment padding. Strengthen the checks, including checking the end of the range, to validate the dev_pagemap, Xarray entries, and sector-to-pfn translation established for pmem namespaces. Acked-by: Jan Kara <jack@suse.cz> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> |
||
---|---|---|
.. | ||
dax-private.h | ||
dax.h | ||
device-dax.h | ||
device.c | ||
Kconfig | ||
Makefile | ||
pmem.c | ||
super.c |