]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
SUNRPC: Remove comment for sp_lock
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Fri, 26 Apr 2024 03:47:50 +0000 (11:47 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 6 May 2024 13:07:23 +0000 (09:07 -0400)
It is obsolete since sp_lock was discarded in commit 580a25756a9f
("SUNRPC: discard sp_lock").

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc_xprt.c

index 34a3626c56b1b933e7d38cb9dc7364f93f47ea33..dd86d7f1e97e92ba7f7da0e40d2327337d042b87 100644 (file)
@@ -46,7 +46,6 @@ static LIST_HEAD(svc_xprt_class_list);
 
 /* SMP locking strategy:
  *
- *     svc_pool->sp_lock protects most of the fields of that pool.
  *     svc_serv->sv_lock protects sv_tempsocks, sv_permsocks, sv_tmpcnt.
  *     when both need to be taken (rare), svc_serv->sv_lock is first.
  *     The "service mutex" protects svc_serv->sv_nrthread.