diff options
| author | Tuomas Tynkkynen <[email protected]> | 2017-09-25 22:06:33 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-10-06 11:28:19 -0400 |
| commit | 8df8731474467782c6126f41da87618bcb84852a (patch) | |
| tree | c209c844a5b786814b0df4ee14f236844dac1adb /include/linux/unaligned/be_byteshift.h | |
| parent | edce588a4541be6f0dee397f9b501b5569bbb892 (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 <[email protected]>
Signed-off-by: Tuomas Tynkkynen <[email protected]>
Diffstat (limited to 'include/linux/unaligned/be_byteshift.h')
0 files changed, 0 insertions, 0 deletions
