]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
sunrpc: rename cache_pipe_upcall() to cache_do_upcall()
authorJeff Layton <jlayton@kernel.org>
Wed, 25 Mar 2026 14:40:25 +0000 (10:40 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 1 Jun 2026 15:08:18 +0000 (11:08 -0400)
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>
net/sunrpc/cache.c

index eb866d6cd5937ab514c1c174b8adcb138e3f8a52..04d30a1892d2f4551897d41daf60bcc52087b3fb 100644 (file)
@@ -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);