[PATCH v8 04/20] cachefiles: notify user daemon when withdrawing cookie

David Howells dhowells at redhat.com
Mon Apr 11 22:35:08 AEST 2022


Jeffle Xu <jefflexu at linux.alibaba.com> wrote:

> +static int init_close_req(struct cachefiles_req *req, void *private)

"cachefiles_" prefix please.

> +	/*
> +	 * It's possible if the cookie looking up phase failed before READ
> +	 * request has ever been sent.
> +	 */

What "it" is possible?  You might want to say "It's possible that the
cookie..."

> +	if (fd == 0)
> +		return -ENOENT;

0 is a valid fd.

David



More information about the Linux-erofs mailing list