linux_dsm_epyc7002/lib/reed_solomon
Thomas Gleixner 83a530e161 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>
2018-04-24 19:50:04 -07:00
..
decode_rs.c [MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code 2007-10-20 22:30:54 +01:00
encode_rs.c [LIB] reed_solomon: Clean up trailing white spaces 2005-11-07 14:25:38 +01:00
Makefile [LIB] reed_solomon: Clean up trailing white spaces 2005-11-07 14:25:38 +01:00
reed_solomon.c rslib: Add GFP aware init function 2018-04-24 19:50:04 -07:00