Skip to content

Commit 9e5a274

Browse files
Fix trivial bugs in comments.
1 parent 8186919 commit 9e5a274

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

homa_rpc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ static inline void homa_rpc_unlock(struct homa_rpc *rpc)
543543

544544
/**
545545
* homa_protect_rpcs() - Ensures that no RPCs will be reaped for a given
546-
* socket until homa_sock_unprotect is called. Typically used by functions
546+
* socket until homa_unprotect_rpcs is called. Typically used by functions
547547
* that want to scan the active RPCs for a socket without holding the socket
548548
* lock. Multiple calls to this function may be in effect at once. See
549549
* "Homa Locking Strategy" in homa_impl.h for more info on why this function
@@ -568,7 +568,7 @@ static inline int homa_protect_rpcs(struct homa_sock *hsk)
568568

569569
/**
570570
* homa_unprotect_rpcs() - Cancel the effect of a previous call to
571-
* homa_sock_protect(), so that RPCs can once again be reaped.
571+
* homa_protect_rpcs(), so that RPCs can once again be reaped.
572572
* @hsk: Socket whose RPCs should be unprotected.
573573
*/
574574
static inline void homa_unprotect_rpcs(struct homa_sock *hsk)
@@ -598,7 +598,7 @@ static inline void homa_rpc_hold(struct homa_rpc *rpc)
598598

599599
/**
600600
* homa_rpc_put() - Release a reference on an RPC (cancels the effect of
601-
* a previous call to homa_rpc_put).
601+
* a previous call to homa_rpc_hold).
602602
* @rpc: RPC to release.
603603
*/
604604
static inline void homa_rpc_put(struct homa_rpc *rpc)

0 commit comments

Comments
 (0)