Skip to contentSkip to conversation

NFS: Use C99 structure declaration in client.c

PATCH In review Chuck Lever 1 participant 1 message May 25, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/10 NFS: Use C99 structure declaration in client.c

And clean up some white space and commas.

---

 fs/nfs/client.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
fs/nfs/client.c +7 -4
index 881fa49..e2a8d4c 100644
@@ -72,17 +72,20 @@ struct rpc_program nfs_program = {
 };
 
 struct rpc_stat nfs_rpcstat = {
-	.program		= &nfs_program
+	.program		= &nfs_program,
 };
 
 
 #ifdef CONFIG_NFS_V3_ACL
-static struct rpc_stat		nfsacl_rpcstat = { &nfsacl_program };
-static struct rpc_version *	nfsacl_version[] = {
+static struct rpc_stat nfsacl_rpcstat = {
+	.program		= &nfsacl_program,
+};
+
+static struct rpc_version *nfsacl_version[] = {
 	[3]			= &nfsacl_version3,
 };
 
-struct rpc_program		nfsacl_program = {
+struct rpc_program nfsacl_program = {
 	.name			= "nfsacl",
 	.number			= NFS_ACL_PROGRAM,
 	.nrvers			= ARRAY_SIZE(nfsacl_version),

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs