Skip to content
Commit cc4a90ac authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Dan Williams
Browse files

dax: dax_insert_mapping_entry always succeeds



It does not return an error, so we don't need to check the return value
for IS_ERR().  Indeed, it is a bug to do so; with a sufficiently large
PFN, a legitimate DAX entry may be mistaken for an error return.

Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent d6dc57e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment