svcrdma: Convert "might sleep" comment into a code annotation
authorChuck Lever <chuck.lever@oracle.com>
Mon, 12 Jun 2023 14:13:45 +0000 (10:13 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 17 Jun 2023 17:18:06 +0000 (13:18 -0400)
commit91f8ce28466e480fd9ef27e028ac89dbfd264c24
treec5b16ef8c6f67a6fd03496e93de6449cf7bc7e31
parent262176798b18b12fd8ab84c94cfece0a6a652476
svcrdma: Convert "might sleep" comment into a code annotation

Try to catch incorrect calling contexts mechanically rather than by
code review.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_rw.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c