[PATCH 5.4 32/43] fs: better handle deep ancestor chains in is_subdir()