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
- [PATCH V3 0/6] Introduce erofs shared domain Jia Zhu
- [PATCH V3 1/6] erofs: use kill_anon_super() to kill super i... Jia Zhu
- [PATCH V3 3/6] erofs: introduce 'domain_id' mount option Jia Zhu
- [PATCH V3 2/6] erofs: code clean up for fscache Jia Zhu
- Re: [PATCH V3 2/6] erofs: code clean up for fscache JeffleXu
- Re: [PATCH V3 2/6] erofs: code clean up for fscache JeffleXu
- [PATCH V3 4/6] erofs: introduce fscache-based domain Jia Zhu
- [PATCH V3 5/6] erofs: introduce a pseudo mnt to manage shar... Jia Zhu
- [PATCH V3 6/6] erofs: Support sharing cookies in the same d... Jia Zhu
