Blame SOURCES/9003-Compat-Replace-BIO_MAX_VECS-by-BIO_MAX_PAGES.patch
|
Kmods SIG |
d83023 |
From 61b202bf20ac931e408f48eb55a6c552105f75ae Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
d83023 |
From: Peter Georg <peter.georg@physik.uni-regensburg.de>
|
|
Kmods SIG |
d83023 |
Date: Wed, 22 Sep 2021 22:31:49 +0200
|
|
Kmods SIG |
d83023 |
Subject: [PATCH 9003/9005] Compat: Replace BIO_MAX_VECS by BIO_MAX_PAGES
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
---
|
|
Kmods SIG |
d83023 |
src/fsntfs.c | 2 +-
|
|
Kmods SIG |
d83023 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
diff --git a/src/fsntfs.c b/src/fsntfs.c
|
|
Kmods SIG |
d83023 |
index 4de9acb..6d02b2c 100644
|
|
Kmods SIG |
d83023 |
--- a/src/fsntfs.c
|
|
Kmods SIG |
d83023 |
+++ b/src/fsntfs.c
|
|
Kmods SIG |
d83023 |
@@ -1599,7 +1599,7 @@ int ntfs_bio_fill_1(struct ntfs_sb_info *sbi, const struct runs_tree *run)
|
|
Kmods SIG |
d83023 |
lbo = (u64)lcn << cluster_bits;
|
|
Kmods SIG |
d83023 |
len = (u64)clen << cluster_bits;
|
|
Kmods SIG |
d83023 |
new_bio:
|
|
Kmods SIG |
d83023 |
- new = ntfs_alloc_bio(BIO_MAX_VECS);
|
|
Kmods SIG |
d83023 |
+ new = ntfs_alloc_bio(BIO_MAX_PAGES);
|
|
Kmods SIG |
d83023 |
if (!new) {
|
|
Kmods SIG |
d83023 |
err = -ENOMEM;
|
|
Kmods SIG |
d83023 |
break;
|
|
Kmods SIG |
d83023 |
--
|
|
Kmods SIG |
d83023 |
2.31.1
|
|
Kmods SIG |
d83023 |
|