Skip to content

Commit 8bfc7e1

Browse files
jtlaytonchucklever
authored andcommitted
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>
1 parent b2c217e commit 8bfc7e1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

net/sunrpc/cache.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,12 +1195,12 @@ static bool cache_listeners_exist(struct cache_detail *detail)
11951195
}
11961196

11971197
/*
1198-
* register an upcall request to user-space and queue it up for read() by the
1199-
* upcall daemon.
1198+
* register an upcall request to user-space and queue it up to be fetched by
1199+
* the upcall daemon.
12001200
*
12011201
* Each request is at most one page long.
12021202
*/
1203-
static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h)
1203+
static int cache_do_upcall(struct cache_detail *detail, struct cache_head *h)
12041204
{
12051205
char *buf;
12061206
struct cache_request *crq;
@@ -1245,7 +1245,7 @@ int sunrpc_cache_upcall(struct cache_detail *detail, struct cache_head *h)
12451245
{
12461246
if (test_and_set_bit(CACHE_PENDING, &h->flags))
12471247
return 0;
1248-
return cache_pipe_upcall(detail, h);
1248+
return cache_do_upcall(detail, h);
12491249
}
12501250
EXPORT_SYMBOL_GPL(sunrpc_cache_upcall);
12511251

0 commit comments

Comments
 (0)