Josef Bacik ef77b51524 nbd: use loff_t for blocksize and nbd_set_size args
If we have large devices (say like the 40t drive I was trying to test with) we
will end up overflowing the int arguments to nbd_set_size and not get the right
size for our device.  Fix this by using loff_t everywhere so I don't have to
think about this again.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-12-02 21:06:29 -07:00
..
2016-06-27 12:26:08 -07:00
2016-10-25 11:55:25 -06:00
2016-06-27 12:26:08 -07:00
2011-08-08 11:40:15 +02:00
2014-08-08 15:57:28 -07:00
2016-11-22 08:57:55 -07:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-11-16 08:26:11 -07:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00
2009-03-26 21:15:27 +01:00
2016-09-15 08:42:03 -06:00