sandbox: scsi: Move file size into shared struct
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2022 14:21:40 +0000 (16:21 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2022 14:30:05 +0000 (08:30 -0600)
commitf148ad1b5fb14a3295ced502647de5be69e46100
tree4ee299459c4835cff96b7a65e017b48099a55830
parenta3718f1e536c564610f23298e2c0540877ef30f8
sandbox: scsi: Move file size into shared struct

Move this information into struct scsi_emul_info so we can use it in
common code.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_flash.c
include/scsi_emul.h