commit | 377202b5604e9e17074955538dc8081169a43137 | [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 | 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>