On 9/14/22 6:50 PM, Jia Zhu wrote: > > @@ -485,13 +481,13 @@ void erofs_fscache_unregister_cookie(struct erofs_fscache **fscache) > ctx->inode = NULL; - ctx->cookie = NULL; - ctx->inode = NULL; I think the above two lines can also be deleted. After all @ctx will be freed soon. > > kfree(ctx); > - *fscache = NULL; > } > -- Thanks, Jingbo