From patchwork Thu Mar 10 17:30:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 625421 X-Patchwork-Delegate: Trond.Myklebust@netapp.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2AHURg7000504 for ; Thu, 10 Mar 2011 17:30:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753689Ab1CJRaa (ORCPT ); Thu, 10 Mar 2011 12:30:30 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:56623 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753823Ab1CJRaa (ORCPT ); Thu, 10 Mar 2011 12:30:30 -0500 Received: by mail-iw0-f174.google.com with SMTP id 34so1743856iwn.19 for ; Thu, 10 Mar 2011 09:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:subject:to:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding; bh=U3vEaaOw1pBGRGKZj0QJklr+JL3MTDJdxC9qlEZhTss=; b=L5bv1YTYlvKAhEqJ+W7ZvNDwFWgxzpEgDC6H29PCd5B8wIPoxJzFV2P0mwDC8MNMPR esTiiR/icN44RNTdNhh/pzKGfQ1Ue2hK5rs8dpVRHpByEKrTt5PyKXKhsgFxMcIz3rHa CUOLlLmigR5xAQDydlEUZEwwQmH8f1t3/0o3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:subject:to:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; b=jPQrZTE1VnI3JbBwD/irL1gD1MSvFg4oW/d09TxpFju7TZegeCkoQNDkG4+k9dRmFx trA7CrPSn8MnAuZ3Z7KeZdhDb9jr27e1W/aJg6ZGIMMmlyqruMJJDWTgX5g5rZlDg2ob 9XhA1uTV6wTTaZ8GhQ/qqz0+7Pooi69BYw94g= Received: by 10.42.222.71 with SMTP id if7mr2420081icb.271.1299778229703; Thu, 10 Mar 2011 09:30:29 -0800 (PST) Received: from matisse.1015granger.net ([99.26.161.222]) by mx.google.com with ESMTPS id 8sm2703839iba.4.2011.03.10.09.30.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 09:30:28 -0800 (PST) From: Chuck Lever Subject: [PATCH 6/8] NFS: Remove "const" from "struct nfs_server *" fields To: linux-nfs@vger.kernel.org Date: Thu, 10 Mar 2011 12:30:27 -0500 Message-ID: <20110310173027.8878.78797.stgit@matisse.1015granger.net> In-Reply-To: <20110310171345.8878.25548.stgit@matisse.1015granger.net> References: <20110310171345.8878.25548.stgit@matisse.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Mar 2011 17:30:31 +0000 (UTC) diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 632e869..04b9ef7 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -256,7 +256,7 @@ struct nfs_openargs { fmode_t delegation_type; /* CLAIM_PREVIOUS */ } u; const struct qstr * name; - const struct nfs_server *server; /* Needed for ID mapping */ + struct nfs_server * server; /* Needed for ID mapping */ const u32 * bitmask; __u32 claim; struct nfs4_sequence_args seq_args; @@ -270,7 +270,7 @@ struct nfs_openres { struct nfs_fattr * f_attr; struct nfs_fattr * dir_attr; struct nfs_seqid * seqid; - const struct nfs_server *server; + struct nfs_server * server; fmode_t delegation_type; nfs4_stateid delegation; __u32 do_recall; @@ -309,7 +309,7 @@ struct nfs_closeres { nfs4_stateid stateid; struct nfs_fattr * fattr; struct nfs_seqid * seqid; - const struct nfs_server *server; + struct nfs_server * server; struct nfs4_sequence_res seq_res; }; /* @@ -381,7 +381,7 @@ struct nfs4_delegreturnargs { struct nfs4_delegreturnres { struct nfs_fattr * fattr; - const struct nfs_server *server; + struct nfs_server * server; struct nfs4_sequence_res seq_res; }; @@ -431,7 +431,7 @@ struct nfs_writeres { struct nfs_fattr * fattr; struct nfs_writeverf * verf; __u32 count; - const struct nfs_server *server; + struct nfs_server * server; struct nfs4_sequence_res seq_res; }; @@ -446,7 +446,7 @@ struct nfs_removeargs { }; struct nfs_removeres { - const struct nfs_server *server; + struct nfs_server *server; struct nfs_fattr *dir_attr; struct nfs4_change_info cinfo; struct nfs4_sequence_res seq_res; @@ -465,7 +465,7 @@ struct nfs_renameargs { }; struct nfs_renameres { - const struct nfs_server *server; + struct nfs_server *server; struct nfs4_change_info old_cinfo; struct nfs_fattr *old_fattr; struct nfs4_change_info new_cinfo; @@ -546,7 +546,7 @@ struct nfs_getaclres { struct nfs_setattrres { struct nfs_fattr * fattr; - const struct nfs_server * server; + struct nfs_server * server; struct nfs4_sequence_res seq_res; }; @@ -719,7 +719,7 @@ struct nfs4_accessargs { }; struct nfs4_accessres { - const struct nfs_server * server; + struct nfs_server * server; struct nfs_fattr * fattr; u32 supported; u32 access; @@ -747,7 +747,7 @@ struct nfs4_create_arg { }; struct nfs4_create_res { - const struct nfs_server * server; + struct nfs_server * server; struct nfs_fh * fh; struct nfs_fattr * fattr; struct nfs4_change_info dir_cinfo; @@ -773,7 +773,7 @@ struct nfs4_getattr_arg { }; struct nfs4_getattr_res { - const struct nfs_server * server; + struct nfs_server * server; struct nfs_fattr * fattr; struct nfs4_sequence_res seq_res; }; @@ -787,7 +787,7 @@ struct nfs4_link_arg { }; struct nfs4_link_res { - const struct nfs_server * server; + struct nfs_server * server; struct nfs_fattr * fattr; struct nfs4_change_info cinfo; struct nfs_fattr * dir_attr; @@ -803,7 +803,7 @@ struct nfs4_lookup_arg { }; struct nfs4_lookup_res { - const struct nfs_server * server; + struct nfs_server * server; struct nfs_fattr * fattr; struct nfs_fh * fh; struct nfs4_sequence_res seq_res; @@ -918,7 +918,7 @@ struct nfs4_fs_location { #define NFS4_FS_LOCATIONS_MAXENTRIES 10 struct nfs4_fs_locations { struct nfs_fattr fattr; - const struct nfs_server *server; + struct nfs_server *server; struct nfs4_pathname fs_path; int nlocations; struct nfs4_fs_location locations[NFS4_FS_LOCATIONS_MAXENTRIES];