]> git.ipfire.org Git - thirdparty/grub.git/commit
fshelp: Add handling of "." and ".." and grub_fshelp_find_file_lookup.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 27 Jul 2015 10:45:35 +0000 (12:45 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 27 Jul 2015 10:45:35 +0000 (12:45 +0200)
commitfa93b0e4f5dd8d218da1c32c71c2bffd48eab89b
treefdf0f8b588518e77ee117adfece520f8fb83710d
parent4622f4e1ee569d5841bf8bb080430dc28b1c5665
fshelp: Add handling of "." and ".." and grub_fshelp_find_file_lookup.

Recent tests have discovered that many of our filesystems have flawed
handling of "." and "..". Rather than attempting to fix it in filesystems
themselves, make the common code fshelp aware of "." and ".." and handle
them in this layer. Add grub_fshelp_find_file_lookup for easy conversion
of BFS, HFS and exFAT which have the same problem and don't use fshelp.
grub-core/fs/fshelp.c
include/grub/fshelp.h