archive mirror
 help / color / mirror / Atom feed
* [PATCH] Trivial C99 patch for fs/libfs.c
@ 2003-05-04 19:13 Art Haas
  0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-05-04 19:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds


This patch converts an old-style initializer to the C99 style. The patch
is against the current BK.

Art Haas

===== fs/libfs.c 1.17 vs edited =====
--- 1.17/fs/libfs.c	Fri Apr 25 17:16:53 2003
+++ edited/fs/libfs.c	Sun May  4 14:09:03 2003
@@ -338,7 +338,7 @@
 int simple_fill_super(struct super_block *s, int magic, struct tree_descr *files)
-	static struct super_operations s_ops = {statfs:simple_statfs};
+	static struct super_operations s_ops = {.statfs = simple_statfs};
 	struct inode *inode;
 	struct dentry *root;
 	struct dentry *dentry;
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-04 19:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-04 19:13 [PATCH] Trivial C99 patch for fs/libfs.c Art Haas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).