[PATCH openEuler-5.10 052/136] recordmcount: Correct st_shndx handling