diff options
author | 2019-01-22 10:48:09 +0800 | |
---|---|---|
committer | 2019-02-12 10:18:44 -0800 | |
commit | f101ada7da6551127d192c2f1742c1e9e0f62799 (patch) | |
tree | dcb5fdae196c8c5ed566b074c56d2c045d5a91c9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Linux 5.0-rc4 (diff) | |
download | wireguard-linux-f101ada7da6551127d192c2f1742c1e9e0f62799.tar.xz wireguard-linux-f101ada7da6551127d192c2f1742c1e9e0f62799.zip |
libnvdimm, pfn: Fix over-trim in trim_pfn_device()
When trying to see whether current nd_region intersects with others,
trim_pfn_device() has already calculated the *size* to be expanded to
SECTION size.
Do not double append 'adjust' to 'size' when calculating whether the end
of a region collides with the next pmem region.
Fixes: ae86cbfef381 "libnvdimm, pfn: Pad pfn namespaces relative to other regions"
Cc: <stable@vger.kernel.org>
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions