summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-12-01 23:51:21 +0100
committerJ. Bruce Fields <bfields@redhat.com>2011-12-06 22:20:42 +0100
commit94cf3179ccfc69d727dd884fd0831d82ada6bb06 (patch)
tree620911b65758774b7e2052835a46e7759a316bd4 /net
parentnfsd41: allow non-reclaim open-by-fh's in 4.1 (diff)
downloadlinux-94cf3179ccfc69d727dd884fd0831d82ada6bb06.tar.xz
linux-94cf3179ccfc69d727dd884fd0831d82ada6bb06.zip
svcrpc: update outdated BKL comment
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 1a6c16ed7fa6..e9632bb66535 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -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