[PATCH] audit: add child record before the create to handle case where create fails