nbd: Fix device bytesize type
authorMarkus Pargmann <mpa@pengutronix.de>
Thu, 2 Apr 2015 08:11:37 +0000 (10:11 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:39:21 +0000 (12:39 -0600)
commitb9c495bb6d8edc719fd23af2ac67de8303cfc1e8
treeeb5da0c3bda9b224b8632db4b89e6b5b6c278b04
parentd06df60b9460838553d37d01049d04c43a36f396
nbd: Fix device bytesize type

The block subsystem uses loff_t to store the device size. Change the
type for nbd_device bytesize to loff_t.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c