commit | 3e78e85264a63ffd5c89838f834f9deec84f907d | [log] [tgz] |
---|---|---|
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | Mon Sep 25 22:06:33 2017 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 06 11:28:19 2017 -0400 |
tree | c209c844a5b786814b0df4ee14f236844dac1adb | |
parent | e304b022910372cde79abd18c5bb4a4805030775 [diff] |
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>