[PATCH v2 OLK-5.10 04/15] fs: move cleanup from init_file() into its callers