mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
Storage server expectes the mx_sb_len to be set to non-zero value in order to pass on the sense information assosiated with the SCSI command to the user. Some of the open source implementations(Ex:f2fs) that use SG_IO SCSI IOCTL interface set the mx_sb_len to 0. Handle this case in the vblk client driver. Bug 4060482 Change-Id: Ib3779f9cd4beb2822add95d4773909b7d3e7217a Signed-off-by: Sanjith T D <std@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894395 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Vipin Kumar <vipink@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>