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>
This commit is contained in:
Kinglong Mee 2017-02-07 21:49:17 +08:00 committed by Anna Schumaker
parent af4926e561
commit 6489a8f413

View file

@ -717,7 +717,7 @@ void cache_clean_deferred(void *owner)
/* /*
* communicate with user-space * communicate with user-space
* *
* We have a magic /proc file - /proc/sunrpc/<cachename>/channel. * We have a magic /proc file - /proc/net/rpc/<cachename>/channel.
* On read, you get a full request, or block. * On read, you get a full request, or block.
* On write, an update request is processed. * On write, an update request is processed.
* Poll works if anything to read, and always allows write. * Poll works if anything to read, and always allows write.
@ -1272,7 +1272,7 @@ EXPORT_SYMBOL_GPL(qword_get);
/* /*
* support /proc/sunrpc/cache/$CACHENAME/content * support /proc/net/rpc/$CACHENAME/content
* as a seqfile. * as a seqfile.
* We call ->cache_show passing NULL for the item to * We call ->cache_show passing NULL for the item to
* get a header, then pass each real item in the cache * get a header, then pass each real item in the cache