dm-crypt: don't clear bvec->bv_page in crypt_free_buffer_pages()
authorMing Lei <ming.lei@redhat.com>
Mon, 18 Dec 2017 12:22:13 +0000 (20:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
commit92681eca6104d2ec2fdf9fc65f529deb226ab0a1
tree5283da0b54a4b1b93314af1180ba5091141c4fb1
parentc16a8ac3c021f454550f851f5e0772b29a5125b0
dm-crypt: don't clear bvec->bv_page in crypt_free_buffer_pages()

The bio is always freed after running crypt_free_buffer_pages(), so it
isn't necessary to clear bv->bv_page.

Cc: Mike Snitzer <snitzer@redhat.com>
Cc:dm-devel@redhat.com
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-crypt.c