From patchwork Tue Feb 7 13:49:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kinglong Mee X-Patchwork-Id: 9560149 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 541E360434 for ; Tue, 7 Feb 2017 13:49:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43D6723B24 for ; Tue, 7 Feb 2017 13:49:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36955283CA; Tue, 7 Feb 2017 13:49:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA96F23B24 for ; Tue, 7 Feb 2017 13:49:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753893AbdBGNtZ (ORCPT ); Tue, 7 Feb 2017 08:49:25 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:34754 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753850AbdBGNtY (ORCPT ); Tue, 7 Feb 2017 08:49:24 -0500 Received: by mail-it0-f68.google.com with SMTP id o185so12362515itb.1 for ; Tue, 07 Feb 2017 05:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=2myQbAh5euYeO0874pSmQyU0xZ1Jc6q7KJJScM+kABs=; b=hjmMElHc+tcUS3cwjILCLpJsfgTHJkI3Ean2g2bQZqPKf3fQ7aMGrwotOrm00z58Kp F5YYxgmmHFaIdPo7mp+KpG6wcQUY6GH7JjL1dJjbf0xX2icR5pbPZT5XZv3XqeC3P9BE MYJ9XInqM3vsR4Ge1QFXCEaftnq6qZAp1KVOftxQ2Z7t5lMcoXkCZWS7LRDOXV+4nTPW SbsHquVFHU+JAWBDJTGqcIJMvdAbCoyi27Nzu1T23f0IhLPUQ+JRicEI/162gGriErmB MSPC4qNUQDcDUk+t5khNd+7vHG/6s6ugCVmi6buC1QdQn6SCBYh3LVZkeVpLeT9b9wMp 7R1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=2myQbAh5euYeO0874pSmQyU0xZ1Jc6q7KJJScM+kABs=; b=KbMQw3coJkgckwrylnggao/GivIobmhImrfVAeLC4lapoAjsrzVdxFb4rr0RrhvQHI EITMd2hDyPAwo+kuvoV3KksQLE1Se1+LDuG1a+5A0tfxvZ6kyhYVKciS2PYz1D7Yu20X 1wNW7mWn7VHojQYv+gRX4/50oAGNXx2ZNfXdmDC9dwMqpKYW08M7E4m5VLXmLutEXOQ1 U2kG4RAx8H3nbFTv+WsuxWsbUd9vfIU3CwOQkI+2JzTkB1JhdS6N5/CFrwB6wHkzp2pa YB7lvBoO1JcUHu4txqs4+/7P4SsY1ESIJ3wmbi7UtSRsYVrsbc9d34LtIaROxSgaG5mP UqgQ== X-Gm-Message-State: AIkVDXLEOP9Oz33yzPxDTY/j/iQyf5LTTa9hi+1rtL9zWnTPBTGjbGmh6RP5085xW+QszA== X-Received: by 10.36.230.5 with SMTP id e5mr11478172ith.92.1486475363510; Tue, 07 Feb 2017 05:49:23 -0800 (PST) Received: from [192.168.0.107] ([182.139.118.29]) by smtp.gmail.com with ESMTPSA id y42sm9551462ioi.21.2017.02.07.05.49.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 05:49:23 -0800 (PST) Subject: [PATCH 5/7] sunrpc: update the comments of sunrpc proc path To: "J. Bruce Fields" , linux-nfs@vger.kernel.org References: <59432847-8e45-4423-c441-0c67ee645f38@gmail.com> Cc: Trond Myklebust , Kinglong Mee From: Kinglong Mee Message-ID: Date: Tue, 7 Feb 2017 21:49:17 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <59432847-8e45-4423-c441-0c67ee645f38@gmail.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Kinglong Mee --- net/sunrpc/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 688ef8c..9e8561d 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -717,7 +717,7 @@ void cache_clean_deferred(void *owner) /* * communicate with user-space * - * We have a magic /proc file - /proc/sunrpc//channel. + * We have a magic /proc file - /proc/net/rpc//channel. * On read, you get a full request, or block. * On write, an update request is processed. * 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. * We call ->cache_show passing NULL for the item to * get a header, then pass each real item in the cache