diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-02-03 13:21:01 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 09:47:33 -0500 |
commit | 377202b5604e9e17074955538dc8081169a43137 (patch) | |
tree | 587d0b9fe81e4b6c25fff09a2a82db7973033ba9 /common/env_common.c | |
parent | 6152916a95af299e5b3061bbd43418e2b73295d0 (diff) |
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: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/env_common.c')
0 files changed, 0 insertions, 0 deletions