diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2016-03-09 23:08:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-10 00:43:42 +0100 |
commit | 30f471fd88e0304bee2c17ef1a4651e705870817 (patch) | |
tree | 0fe15e01cee010e6b4461f0da76092f68d1bba32 /mm/mempolicy.c | |
parent | ocfs2: fix return value from ocfs2_page_mkwrite() (diff) | |
download | linux-30f471fd88e0304bee2c17ef1a4651e705870817.tar.xz linux-30f471fd88e0304bee2c17ef1a4651e705870817.zip |
dax: check return value of dax_radix_entry()
dax_pfn_mkwrite() previously wasn't checking the return value of the
call to dax_radix_entry(), which was a mistake.
Instead, capture this return value and return the appropriate VM_FAULT_
value.
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Matthew Wilcox <willy@linux.intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions