[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1477728600-12938-57-git-send-email-tom.leiming@gmail.com>
Date: Sat, 29 Oct 2016 16:08:55 +0800
From: Ming Lei <tom.leiming@...il.com>
To: Jens Axboe <axboe@...com>, linux-kernel@...r.kernel.org
Cc: linux-block@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
Ming Lei <tom.leiming@...il.com>,
"Theodore Y. Ts'o" <tytso@....edu>,
Jaegeuk Kim <jaegeuk@...nel.org>
Subject: [PATCH 56/60] fs: crypto: convert to bio_for_each_segment_all_rd()
Signed-off-by: Ming Lei <tom.leiming@...il.com>
---
fs/crypto/crypto.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c
index 98f87fe8f186..ed007ebbd1ab 100644
--- a/fs/crypto/crypto.c
+++ b/fs/crypto/crypto.c
@@ -411,8 +411,9 @@ static void completion_pages(struct work_struct *work)
struct bio *bio = ctx->r.bio;
struct bio_vec *bv;
int i;
+ struct bvec_iter_all bia;
- bio_for_each_segment_all(bv, bio, i) {
+ bio_for_each_segment_all_rd(bv, bio, i, bia) {
struct page *page = bv->bv_page;
int ret = fscrypt_decrypt_page(page);
--
2.7.4
Powered by blists - more mailing lists