commit | 83a530e1610ab996e59c0941db6cc72f763dddbd | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sun Apr 22 18:23:46 2018 +0200 |
committer | Kees Cook <keescook@chromium.org> | Tue Apr 24 19:50:04 2018 -0700 |
tree | c5abcba7d5b8213ec3ddc39cb7508d80aab08469 | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e [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 <tglx@linutronix.de> Cc: Mike Snitzer <snitzer@redhat.com> Cc: Alasdair Kergon <agk@redhat.com> Cc: Neil Brown <neilb@suse.com> Signed-off-by: Kees Cook <keescook@chromium.org>