[openEuler-5.10 125/150] ext4: avoid remove directory when directory is corrupted