[PATCH openEuler-1.0-LTS 323/769] fs: make two stat prep helpers available