From patchwork Tue May 9 09:19:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9717407 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 5C9DB60237 for ; Tue, 9 May 2017 09:21:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B26E205A8 for ; Tue, 9 May 2017 09:21:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FE4928389; Tue, 9 May 2017 09:21:03 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 BF33428068 for ; Tue, 9 May 2017 09:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753012AbdEIJVB (ORCPT ); Tue, 9 May 2017 05:21:01 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:37536 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752991AbdEIJVA (ORCPT ); Tue, 9 May 2017 05:21:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xz//EJewMcl084PTTFLkvVpCF3I0Deo36IBXFQQ4Z1E=; b=I0/xpUwxaNWYavN2ZQynP24WV 5WP4dM8/VdN5kwZAyQT3S0kjoOyTOD2ZOuAx7AdDrAErLUiEcmWm5rUWdJw/yevg2LblAYneWeS7R itfrf6YT8JtYfLcCmGTbsMqMFyBCyHXWJOtUyssQbgbQn9L+9E5UlNFY49uLAt1nk0WPpWG2GHsSO HFN8B44k/I7I+oE9Xapr5pMFwHLz8JQCB29DVzFBAFsMv6K4ojnwsVS9SKzcahjyD2yZWRA/NZtEQ vOmMlaozl4QH1XOABOOG4v03tzgDHBeWCqntsHm/Y6w4674rKLyR0uYfdmowD8b3B87dfSycmPVuc 3+XJ0+19A==; Received: from clnet-p099-196.ikbnet.co.at ([83.175.99.196] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1d81KF-0000OB-2g; Tue, 09 May 2017 09:20:59 +0000 From: Christoph Hellwig To: Trond Myklebust , Anna Schumaker , "J. Bruce Fields" , Jeff Layton Cc: linux-nfs@vger.kernel.org Subject: [PATCH 17/32] nfsd4: const-ify nfs_cb_version4 Date: Tue, 9 May 2017 11:19:55 +0200 Message-Id: <20170509092010.30752-18-hch@lst.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170509092010.30752-1-hch@lst.de> References: <20170509092010.30752-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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: Christoph Hellwig --- fs/nfsd/nfs4callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 9c36b037c6fc..f94e124c7e7e 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -705,7 +705,7 @@ static const struct rpc_procinfo nfs4_cb_procedures[] = { PROC(CB_NOTIFY_LOCK, COMPOUND, cb_notify_lock, cb_notify_lock), }; -static struct rpc_version nfs_cb_version4 = { +static const struct rpc_version nfs_cb_version4 = { /* * Note on the callback rpc program version number: despite language in rfc * 5661 section 18.36.3 requiring servers to use 4 in this field, the