diff options
author | Naoya Horiguchi | 2014-07-31 01:08:30 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-07-31 02:16:13 +0200 |
commit | 52089b14c08f6ee9886c40b031712383fa24ddd9 (patch) | |
tree | 75dab80c770401054ef68a70461ca3e06e237c64 /mm/memcontrol.c | |
parent | hwpoison: fix hugetlbfs/thp precheck in hwpoison_user_mappings() (diff) | |
download | kernel-qcow2-linux-52089b14c08f6ee9886c40b031712383fa24ddd9.tar.gz kernel-qcow2-linux-52089b14c08f6ee9886c40b031712383fa24ddd9.tar.xz kernel-qcow2-linux-52089b14c08f6ee9886c40b031712383fa24ddd9.zip |
hwpoison: call action_result() in failure path of hwpoison_user_mappings()
hwpoison_user_mappings() could fail for various reasons, so printk()s to
print out the reasons should be done in each failure check inside
hwpoison_user_mappings().
And currently we don't call action_result() when hwpoison_user_mappings()
fails, which is not consistent with other exit points of memory error
handler. So this patch fixes these messaging problems.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Chen Yucong <slaoub@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions