Re: [PATCH v2] fs: rename S_KERNEL_FILE

From: Chaitanya Kulkarni
Date: Fri Jan 28 2022 - 04:01:08 EST


On 1/27/22 11:47 PM, Christoph Hellwig wrote:
> S_KERNEL_FILE is grossly misnamed. We have plenty of files hold open by
> the kernel kernel using filp_open. This flag OTOH signals the inode as
> being a special snowflake that cachefiles holds onto that can't be
> unlinked because of ..., erm, pixie dust. So clearly mark it as such.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Amir Goldstein <amir73il@xxxxxxxxx>
> ---
>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>