Merge pull request #1230 from kmajzero/crash_fix_1224

Fix for #1224 - kernel crash in the IO path
This commit is contained in:
Robert Baldyga 2022-06-14 11:57:04 +02:00 committed by GitHub
commit 86bfdf3cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ apply() {
add_function "
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")
add_function "