]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
svcrpc: update outdated BKL comment
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 1 Dec 2011 22:51:21 +0000 (17:51 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Dec 2011 21:20:42 +0000 (16:20 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc.c

index 1a6c16ed7fa66684ea6a7ac5e82f5126d0ae3e0b..e9632bb66535ddd41d2e9ba62b17d393f50261e2 100644 (file)
@@ -686,8 +686,8 @@ found_pool:
  * Create or destroy enough new threads to make the number
  * of threads the given number.  If `pool' is non-NULL, applies
  * only to threads in that pool, otherwise round-robins between
- * all pools.  Must be called with a svc_get() reference and
- * the BKL or another lock to protect access to svc_serv fields.
+ * all pools.  Caller must ensure that mutual exclusion between this and
+ * server startup or shutdown.
  *
  * Destroying threads relies on the service threads filling in
  * rqstp->rq_task, which only the nfs ones do.  Assumes the serv