aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/cache.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-11-06 14:15:19 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-02-01 16:42:03 -0500
commita490c681cbcf65d548138c377bb691c85824d323 (patch)
treec95c06f827f3e8c0738c285556cc4919afbd0571 /net/sunrpc/cache.c
parent48b4ba3fdd7af319e90ade395162430934ee7b87 (diff)
knfsd: fix cache.c comment
The path here must be left over from some earlier draft; fix it. And do some more minor cleanup while we're there. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r--net/sunrpc/cache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
index d27bbe0ee907..3b11277d27b1 100644
--- a/net/sunrpc/cache.c
+++ b/net/sunrpc/cache.c
@@ -634,13 +634,13 @@ void cache_clean_deferred(void *owner)
634/* 634/*
635 * communicate with user-space 635 * communicate with user-space
636 * 636 *
637 * We have a magic /proc file - /proc/sunrpc/cache 637 * We have a magic /proc file - /proc/sunrpc/<cachename>/channel.
638 * On read, you get a full request, or block 638 * On read, you get a full request, or block.
639 * On write, an update request is processed 639 * On write, an update request is processed.
640 * Poll works if anything to read, and always allows write 640 * Poll works if anything to read, and always allows write.
641 * 641 *
642 * Implemented by linked list of requests. Each open file has 642 * Implemented by linked list of requests. Each open file has
643 * a ->private that also exists in this list. New request are added 643 * a ->private that also exists in this list. New requests are added
644 * to the end and may wakeup and preceding readers. 644 * to the end and may wakeup and preceding readers.
645 * New readers are added to the head. If, on read, an item is found with 645 * New readers are added to the head. If, on read, an item is found with
646 * CACHE_UPCALLING clear, we free it from the list. 646 * CACHE_UPCALLING clear, we free it from the list.