aboutsummaryrefslogtreecommitdiff
path: root/src/hw/pvscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/pvscsi.c')
-rw-r--r--src/hw/pvscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/pvscsi.c b/src/hw/pvscsi.c
index 7c850a9..d62d0a0 100644
--- a/src/hw/pvscsi.c
+++ b/src/hw/pvscsi.c
@@ -213,7 +213,7 @@ pvscsi_process_op(struct disk_op_s *op)
if (!CONFIG_PVSCSI)
return DISK_RET_EBADTRACK;
struct pvscsi_lun_s *plun =
- container_of(op->drive_gf, struct pvscsi_lun_s, drive);
+ container_of(op->drive_fl, struct pvscsi_lun_s, drive);
struct pvscsi_ring_dsc_s *ring_dsc = plun->ring_dsc;
struct PVSCSIRingsState *s = ring_dsc->ring_state;
u32 req_entries = s->reqNumEntriesLog2;