64-bit bdev position

Change-Id: I149693624610e04af0c5e4437b5efa484a33467d
This commit is contained in:
Ben Gras
2014-02-24 14:22:04 +01:00
committed by Lionel Sambuc
parent d1cfa0acd0
commit 3c7f4e462e
9 changed files with 24 additions and 31 deletions

View File

@@ -258,8 +258,7 @@ static ssize_t fbd_transfer_direct(int do_write, u64_t position,
m.BDEV_GRANT = grant;
m.BDEV_FLAGS = flags;
m.BDEV_ID = 0;
m.BDEV_POS_LO = ex64lo(position);
m.BDEV_POS_HI = ex64hi(position);
m.BDEV_POS = position;
if ((r = ipc_sendrec(driver_endpt, &m)) != OK)
panic("ipc_sendrec to driver failed (%d)\n", r);
@@ -351,8 +350,7 @@ static ssize_t fbd_transfer_copy(int do_write, u64_t position,
m.BDEV_GRANT = grant;
m.BDEV_FLAGS = flags;
m.BDEV_ID = 0;
m.BDEV_POS_LO = ex64lo(position);
m.BDEV_POS_HI = ex64hi(position);
m.BDEV_POS = position;
if ((r = ipc_sendrec(driver_endpt, &m)) != OK)
panic("ipc_sendrec to driver failed (%d)\n", r);