Skip to contentSkip to conversation

Fix C99 initializers in fs/nfs/nfs4proc.c

PATCH New Art Haas 1 participant 1 message Apr 23, 2003

Subsystems (2)
lore
Share & tools
lore

Art Haas

author
#0 lore raw

PATCH 1/1 Fix C99 initializers in fs/nfs/nfs4proc.c

Hi.

Here's a small patch that fixes missing '=' characters from the initializers. The patch is against the current BK.

Art Haas

===== fs/nfs/nfs4proc.c 1.20 vs edited =====

fs/nfs/nfs4proc.c +2 -2
@@ -572,10 +572,10 @@
 	u32                     f_bmres[2];
 	u32                     d_bmres[2];
 	struct nfs_fattr        d_attr = {
-		.valid          0,
+		.valid          = 0,
 	};
 	struct nfs_fattr        f_attr = {
-		.valid          0,
+		.valid          = 0,
 	};
 	struct nfs4_getattr     f_getattr = {
 		.gt_bmval       = nfs4_fattr_bitmap,
Signature · 4 lines
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
 -- Theodore Roosevelt, Kansas City Star, 1918