Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scst_vdisk: Fix recent breakage in vdisk_exec_read_capacity16
A recent commit (974001f) added backport support for bdev_open_by_path. This entailed adding a struct bdev_handle, but vdisk_exec_read_capacity16 attempts to lookup virt_dev->bdev_handle->bdev without regard for the fact that if we are not using blockio then bdev_handle will be null. Rectify by making the lookup more robust.
- Loading branch information