diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-07-17 00:20:50 -0700 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2020-07-28 11:50:08 -0600 |
commit | eedfd73d401b5584ab270b5f9f80079e56c7807e (patch) | |
tree | 042df0251a254fd2ae99c561e2f5cea5663ffb0e /drivers/base/devcoredump.c | |
parent | c7fe193f1877e80e905a39e494ff53bd20c97970 (diff) |
drivers/dax: Expand lock scope to cover the use of addresses
The addition of PKS protection to dax read lock/unlock will require that
the address returned by dax_direct_access() be protected by this lock.
Correct the locking by ensuring that the use of kaddr and end_kaddr
are covered by the dax read lock/unlock.
Link: https://lore.kernel.org/r/20200717072056.73134-12-ira.weiny@intel.com
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'drivers/base/devcoredump.c')
0 files changed, 0 insertions, 0 deletions