ubd: drop unnecessary rq->sector manipulation
authorTejun Heo <tj@kernel.org>
Tue, 28 Apr 2009 04:06:10 +0000 (13:06 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 06:14:51 +0000 (08:14 +0200)
commitf81f2f7c9fee307e371f37424577d46f9eaf8692
tree75bb4afd8690847234d502ad244d90c8c20a7bc6
parent4d6c84d91d1a539ebc47d1a36a35e9390ba11fdc
ubd: drop unnecessary rq->sector manipulation

ubd curiously updates rq->sector while issuing the request in multiple
pieces.  Don't do it and simply use local copy of sector.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
arch/um/drivers/ubd_kern.c