scsi: replace off_t with uint64_t

These offsets are passed to the bdev I/O functions, which take uint64_t
offsets.

Change-Id: I1d597d066dfb64b6c7658906e7ee8e6fb2f8e4db
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-09-29 13:32:34 -07:00
parent bcd1edeae4
commit 19dff91a1b

View File

@ -1316,7 +1316,7 @@ spdk_bdev_scsi_read(struct spdk_bdev *bdev,
uint64_t maxlba;
uint64_t llen;
uint64_t blen;
off_t offset;
uint64_t offset;
uint64_t nbytes;
maxlba = bdev->blockcnt;
@ -1354,7 +1354,7 @@ spdk_bdev_scsi_write(struct spdk_bdev *bdev,
uint64_t maxlba;
uint64_t llen;
uint64_t blen;
off_t offset;
uint64_t offset;
uint64_t nbytes;
struct spdk_scsi_task *primary = task->parent;