diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2018-04-22 18:23:46 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-04-25 04:50:04 +0200 |
commit | 83a530e1610ab996e59c0941db6cc72f763dddbd (patch) | |
tree | c5abcba7d5b8213ec3ddc39cb7508d80aab08469 /drivers/md | |
parent | Linux 4.17-rc2 (diff) | |
download | linux-83a530e1610ab996e59c0941db6cc72f763dddbd.tar.xz linux-83a530e1610ab996e59c0941db6cc72f763dddbd.zip |
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>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions