[PATCH 6.6 420/538] fs: Create a generic is_dot_dotdot() utility