Skip to content
Snippets Groups Projects
Commit 377202b5 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

fs: don't pass NULL dev_desc to most filesystems


FAT and ext4 expect that the passed in block device descriptor not be
NULL. This causes problems on sandbox, where get_device_and_partition()
succeeds for the "host" device, yet passes back a NULL device descriptor.
Add special handling for this situation, so that the generic filesystem
commands operate as expected on sandbox.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 6152916a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment