Skip to content
Snippets Groups Projects
Commit 8df87314 authored by Tuomas Tynkkynen's avatar Tuomas Tynkkynen Committed by Tom Rini
Browse files

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: 8eafae20 ("fat/fs: convert to directory iterators")
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
parent edce588a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment