diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2018-04-22 18:23:46 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-04-24 19:50:04 -0700 |
commit | 83a530e1610ab996e59c0941db6cc72f763dddbd (patch) | |
tree | c5abcba7d5b8213ec3ddc39cb7508d80aab08469 /lib/rbtree_test.c | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) | |
download | linux-83a530e1610ab996e59c0941db6cc72f763dddbd.tar.gz linux-83a530e1610ab996e59c0941db6cc72f763dddbd.tar.bz2 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 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions