diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2017-02-07 08:49:17 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-02-08 17:02:46 -0500 |
commit | 6489a8f41370bcc53dac7107e298179da8c6cc05 (patch) | |
tree | fa8177f934224c64e66a944c2e34e5803a92bfae | |
parent | af4926e5619f8a33463f7202f27ba091893ed2ad (diff) |
sunrpc: update the comments of sunrpc proc path
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
-rw-r--r-- | net/sunrpc/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 688ef8cbac62..9e8561d1714d 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -717,7 +717,7 @@ void cache_clean_deferred(void *owner) | |||
717 | /* | 717 | /* |
718 | * communicate with user-space | 718 | * communicate with user-space |
719 | * | 719 | * |
720 | * We have a magic /proc file - /proc/sunrpc/<cachename>/channel. | 720 | * We have a magic /proc file - /proc/net/rpc/<cachename>/channel. |
721 | * On read, you get a full request, or block. | 721 | * On read, you get a full request, or block. |
722 | * On write, an update request is processed. | 722 | * On write, an update request is processed. |
723 | * Poll works if anything to read, and always allows write. | 723 | * Poll works if anything to read, and always allows write. |
@@ -1272,7 +1272,7 @@ EXPORT_SYMBOL_GPL(qword_get); | |||
1272 | 1272 | ||
1273 | 1273 | ||
1274 | /* | 1274 | /* |
1275 | * support /proc/sunrpc/cache/$CACHENAME/content | 1275 | * support /proc/net/rpc/$CACHENAME/content |
1276 | * as a seqfile. | 1276 | * as a seqfile. |
1277 | * We call ->cache_show passing NULL for the item to | 1277 | * We call ->cache_show passing NULL for the item to |
1278 | * get a header, then pass each real item in the cache | 1278 | * get a header, then pass each real item in the cache |