]> 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, 25 Jul 2011 00:49:52 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Jul 2011 00:49:52 +0000 (10:49 +1000)
commit3f52511113d61c5dd3ca02535608fe940d60f0ac
tree8c83970d41cedb309b126a3b7a57591fbef02ca3
parentdc3bee14cb8154d2bbe611cf8e747b8364ff0ce9
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