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 /lib/test-string_helpers.c | |
| parent | d6dc57e251a43c428a9ee3adb7665543a1a584f0 (diff) | |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
