summaryrefslogtreecommitdiffstats
path: root/fs/hfs/dir.c
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2016-04-29 01:18:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-29 04:34:04 +0200
commitd7e69488bd04de165667f6bc741c1c0ec6042ab9 (patch)
treeb0e9a47dee4929026faac9d46ab69e4b2b03d522 /fs/hfs/dir.c
parentmm: call swap_slot_free_notify() with page lock held (diff)
downloadlinux-d7e69488bd04de165667f6bc741c1c0ec6042ab9.tar.xz
linux-d7e69488bd04de165667f6bc741c1c0ec6042ab9.zip
mm/hwpoison: fix wrong num_poisoned_pages accounting
Currently, migration code increses num_poisoned_pages on *failed* migration page as well as successfully migrated one at the trial of memory-failure. It will make the stat wrong. As well, it marks the page as PG_HWPoison even if the migration trial failed. It would mean we cannot recover the corrupted page using memory-failure facility. This patches fixes it. Signed-off-by: Minchan Kim <minchan@kernel.org> Reported-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs/dir.c')
0 files changed, 0 insertions, 0 deletions