Fix for #1224 - kernel crash in the IO path

This fixes issue #1224 - null pointer dereference in kernel in the IO path with large IO's issued

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
This commit is contained in:
Krzysztof Majzerowicz-Jaszcz 2022-06-14 05:12:48 -04:00
parent 2c456908ef
commit b3140ed863

View File

@ -26,7 +26,7 @@ apply() {
add_function " add_function "
static inline struct bio *cas_bio_split(struct bio *bio, int sectors) static inline struct bio *cas_bio_split(struct bio *bio, int sectors)
{ {
return bio_split(bio, sectors, GFP_NOIO, NULL); return bio_split(bio, sectors, GFP_NOIO, &fs_bio_set);
}" ;; }" ;;
"2") "2")
add_function " add_function "