[PATCH 6.6 23/43] libfs: Replace simple_offset end-of-directory detection