]> git.karo-electronics.de Git - karo-tx-linux.git/commit
The nr_pages field in struct kcopyd_job is only used temporarily in
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 3 Aug 2011 00:43:34 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Aug 2011 00:43:34 +0000 (10:43 +1000)
commitee45be8bce9ee93f9129ee7bec43ae88c895dcb0
tree7de3315d8b3278e6e4b6c9942bec84e8d7c7e13f
parent5f8b7efc3e3df035c61316772b399770d163083e
The nr_pages field in struct kcopyd_job is only used temporarily in
run_pages_job() to count the number of required pages.
We can use a local variable instead.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-kcopyd.c