aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2018-04-22 18:23:46 +0200
committerKees Cook <[email protected]>2018-04-24 19:50:04 -0700
commit83a530e1610ab996e59c0941db6cc72f763dddbd (patch)
treec5abcba7d5b8213ec3ddc39cb7508d80aab08469 /lib/memory-notifier-error-inject.c
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
rslib: Add GFP aware init function
The rslib usage in dm/verity_fec is broken because init_rs() can nest in GFP_NOIO mempool allocations as init_rs() is invoked from the mempool alloc callback. Provide a variant which takes gfp_t flags as argument. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Alasdair Kergon <[email protected]> Cc: Neil Brown <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions