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