diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2018-06-02 19:39:37 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-06-02 19:39:37 -0700 |
commit | cc4a90ac816e00775fbc2a9c018bf2af606abd06 (patch) | |
tree | 4f3aa285bcb4468655be73035c655e01284e869c /mm | |
parent | d6dc57e251a43c428a9ee3adb7665543a1a584f0 (diff) | |
download | linux-cc4a90ac816e00775fbc2a9c018bf2af606abd06.tar.gz linux-cc4a90ac816e00775fbc2a9c018bf2af606abd06.tar.bz2 linux-cc4a90ac816e00775fbc2a9c018bf2af606abd06.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions