mirror of https://gitee.com/openkylin/linux.git
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dax-private.h | ||
dax.h | ||
device-dax.h | ||
device.c | ||
pmem.c | ||
super.c |