diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-03-25 10:40:25 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2026-06-01 11:08:18 -0400 |
| commit | 8bfc7e13ee7c94edb5f9938985e58f5c14bac91c (patch) | |
| tree | 1a4a0be231a25b0f3c09b380a93132a84bfd36ca | |
| parent | b2c217ee4f779334cff979a3c11a4ec59162f78b (diff) | |
| download | lwn-8bfc7e13ee7c94edb5f9938985e58f5c14bac91c.tar.gz lwn-8bfc7e13ee7c94edb5f9938985e58f5c14bac91c.zip | |
sunrpc: rename cache_pipe_upcall() to cache_do_upcall()
Rename cache_pipe_upcall() to cache_do_upcall() in anticipation of the
addition of a netlink-based upcall mechanism.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
| -rw-r--r-- | net/sunrpc/cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index eb866d6cd593..04d30a1892d2 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -1195,12 +1195,12 @@ static bool cache_listeners_exist(struct cache_detail *detail) } /* - * register an upcall request to user-space and queue it up for read() by the - * upcall daemon. + * register an upcall request to user-space and queue it up to be fetched by + * the upcall daemon. * * Each request is at most one page long. */ -static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) +static int cache_do_upcall(struct cache_detail *detail, struct cache_head *h) { char *buf; struct cache_request *crq; @@ -1245,7 +1245,7 @@ int sunrpc_cache_upcall(struct cache_detail *detail, struct cache_head *h) { if (test_and_set_bit(CACHE_PENDING, &h->flags)) return 0; - return cache_pipe_upcall(detail, h); + return cache_do_upcall(detail, h); } EXPORT_SYMBOL_GPL(sunrpc_cache_upcall); |
