summaryrefslogtreecommitdiff
path: root/test/fs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-09-25 22:06:33 +0300
committerTom Rini <trini@konsulko.com>2017-10-06 11:28:19 -0400
commit8df8731474467782c6126f41da87618bcb84852a (patch)
treec209c844a5b786814b0df4ee14f236844dac1adb /test/fs
parentedce588a4541be6f0dee397f9b501b5569bbb892 (diff)
downloadu-boot-8df8731474467782c6126f41da87618bcb84852a.tar.gz
u-boot-8df8731474467782c6126f41da87618bcb84852a.tar.bz2
u-boot-8df8731474467782c6126f41da87618bcb84852a.zip
fs/fat: Fix pathnames using '..' that lead to the root directory
If we end up back in the root directory via a '..' directory entry, set itr->is_root accordingly. Failing to do that gives spews like "Invalid FAT entry" and being unable to access directory entries located past the first cluster of the root directory. Fixes: 8eafae209c35 ("fat/fs: convert to directory iterators") Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'test/fs')
0 files changed, 0 insertions, 0 deletions