summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorJosef Bacik2019-05-14 02:21:04 +0200
committerLinus Torvalds2019-05-14 18:47:49 +0200
commitcfcbfb1382dbac331d8aa92d3a218a16b803b2a9 (patch)
treeb82c7913d1790f823ed3f6ac5f39118a502571ea /mm/rmap.c
parentmm/mmu_notifier: mmu_notifier_range_update_to_read_only() helper (diff)
downloadkernel-qcow2-linux-cfcbfb1382dbac331d8aa92d3a218a16b803b2a9.tar.gz
kernel-qcow2-linux-cfcbfb1382dbac331d8aa92d3a218a16b803b2a9.tar.xz
kernel-qcow2-linux-cfcbfb1382dbac331d8aa92d3a218a16b803b2a9.zip
mm/filemap.c: enable error injection at add_to_page_cache()
Recently I messed up the error handling in filemap_fault() because of an unexpected ENOMEM (related to cgroup memory limits) in add_to_page_cache. Enable error injection at this point so I can add a testcase to xfstests to verify I don't mess this up again. [akpm@linux-foundation.org: include linux/error-injection.h] Link: http://lkml.kernel.org/r/20190403152604.14008-1-josef@toxicpanda.com Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: William Kucharski <william.kucharski@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions