dax: dax_insert_mapping_entry always succeeds
authorMatthew Wilcox <mawilcox@microsoft.com>
Sun, 3 Jun 2018 02:39:37 +0000 (19:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jun 2018 02:39:37 +0000 (19:39 -0700)
commitcc4a90ac816e00775fbc2a9c018bf2af606abd06
tree4f3aa285bcb4468655be73035c655e01284e869c
parentd6dc57e251a43c428a9ee3adb7665543a1a584f0
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: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c