[PATCH] Trivial C99 patch for fs/libfs.c

From: Art Haas (ahaas@airmail.net)
Date: Sun May 04 2003 - 14:13:56 EST


Hi.

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:20 EST