From: sashiko-bot@kernel.org
To: "David Howells" <dhowells@redhat.com>
Cc: "Jeff Layton" <jlayton@kernel.org>,
bpf@vger.kernel.org, "Anna Schumaker" <anna@kernel.org>,
"Chuck Lever" <cel@kernel.org>
Subject: Re: [PATCH v9 14/26] cachefiles,netfs: sunset ondemand mode
Date: Mon, 10 Aug 2026 15:09:49 +0000 [thread overview]
Message-ID: <20260810150949.9FCD61F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260810144746.574036-15-dhowells@redhat.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The function declaration `cachefiles_flush_reqs` was left in `fs/cachefiles/internal.h` despite its definition being completely removed.
--
--- Patch [14]: [PATCH v9 14/26] cachefiles,netfs: sunset ondemand mode ---
commit 3258008555b130612d694792049c301874f06845
Author: Gao Xiang <xiang@kernel.org>
cachefiles,netfs: sunset ondemand mode
This commit removes the on-demand read mode from cachefiles and netfslib. Since
EROFS no longer acts as a network filesystem and doesn't use this mode, the
associated code and documentation are cleaned up.
Link: https://lore.kernel.org/r/CAOQ4uxi4dzxArY24YO=+kBCK2gGoq3Ptb8WkzCqSogPgU_R3dQ@mail.gmail.com
> diff --git a/fs/cachefiles/internal.h b/fs/cachefiles/internal.h
> index b62cd3e9a18e4..409492744bde6 100644
> --- a/fs/cachefiles/internal.h
> +++ b/fs/cachefiles/internal.h
[ ... ]
> @@ -191,8 +146,6 @@ extern int cachefiles_has_space(struct cachefiles_cache *cache,
> */
> extern const struct file_operations cachefiles_daemon_fops;
> extern void cachefiles_flush_reqs(struct cachefiles_cache *cache);
[Severity: Low]
This isn't a bug, but it looks like the prototype for cachefiles_flush_reqs()
was left behind in the header even though its implementation was removed from
fs/cachefiles/daemon.c. Should this declaration be removed as well?
> -extern void cachefiles_get_unbind_pincount(struct cachefiles_cache *cache);
> -extern void cachefiles_put_unbind_pincount(struct cachefiles_cache *cache);
>
> /*
> * error_inject.c
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260810144746.574036-1-dhowells@redhat.com?part=14
prev parent reply other threads:[~2026-08-10 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260810144746.574036-1-dhowells@redhat.com>
2026-08-10 14:47 ` [PATCH v9 14/26] cachefiles,netfs: sunset ondemand mode David Howells
2026-08-10 15:09 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260810150949.9FCD61F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=anna@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=cel@kernel.org \
--cc=dhowells@redhat.com \
--cc=jlayton@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox