[PATCH 5.19 102/717] ksmbd: fix incorrect handling of iterate_dir