]> 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>
Mon, 1 Aug 2011 00:51:01 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Aug 2011 00:51:01 +0000 (10:51 +1000)
commit5b1d480a76187ffe0aa2aa995082ef8643fefc59
treee8002a80b74694b03811b31b79da9c89e13ee637
parentcfed6e345672a2dc59a4f56530e6ae0967b04270
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