[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb498259-08a1-2d94-c725-0188633efdb7@linux.alibaba.com>
Date: Thu, 15 Sep 2022 14:45:02 +0800
From: JeffleXu <jefflexu@...ux.alibaba.com>
To: Jia Zhu <zhujia.zj@...edance.com>, linux-erofs@...ts.ozlabs.org,
xiang@...nel.org, chao@...nel.org
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
yinxin.x@...edance.com, huyue2@...lpad.com
Subject: Re: [PATCH V3 2/6] erofs: code clean up for fscache
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
Powered by blists - more mailing lists