commit | ec63d4af375bccd6d6f5dd8318313141414a3670 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Mon Feb 03 13:21:01 2014 -0700 |
committer | Tom Rini <trini@ti.com> | Wed Feb 19 09:47:33 2014 -0500 |
tree | 587d0b9fe81e4b6c25fff09a2a82db7973033ba9 | |
parent | d008fbb530a51b597486573249277bf44c2c42cf [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>