[PATCH openEuler-5.10 18/26] ext4: factor out write end code of inline file