[PATCH openEuler-1.0-LTS 3/8] xfs: check directory name validity