summaryrefslogtreecommitdiff
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-02-03 13:21:01 -0700
committerTom Rini <trini@ti.com>2014-02-19 09:47:33 -0500
commit377202b5604e9e17074955538dc8081169a43137 (patch)
tree587d0b9fe81e4b6c25fff09a2a82db7973033ba9 /fs/ubifs/debug.c
parent6152916a95af299e5b3061bbd43418e2b73295d0 (diff)
downloadu-boot-imx-377202b5604e9e17074955538dc8081169a43137.zip
u-boot-imx-377202b5604e9e17074955538dc8081169a43137.tar.gz
u-boot-imx-377202b5604e9e17074955538dc8081169a43137.tar.bz2
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 'fs/ubifs/debug.c')
0 files changed, 0 insertions, 0 deletions