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