fs/fat: introduce new director iterators
authorRob Clark <[email protected]>
Sat, 9 Sep 2017 17:15:53 +0000 (13:15 -0400)
committerTom Rini <[email protected]>
Fri, 15 Sep 2017 13:03:10 +0000 (09:03 -0400)
commitc6e3baa565bc3b5828cf0d67ca6429dbe5f8687c
tree5a13890bd687be572ae652124b99b016af93af43
parent45449980f80169214633f2649a27c791d0104e9d
fs/fat: introduce new director iterators

Untangle directory traversal into a simple iterator, to replace the
existing multi-purpose do_fat_read_at() + get_dentfromdir().

Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Ɓukasz Majewski <[email protected]>
fs/fat/fat.c
include/fat.h