Skip to contentSkip to conversation

Trivial C99 patch for fs/libfs.c

PATCH New Art Haas 1 participant 1 message May 4, 2003 VFS

lore
Share & tools
lore

Art Haas

author
#0 lore raw

PATCH 1/1 Trivial C99 patch for fs/libfs.c

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 =====

fs/libfs.c +1 -1
@@ -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;
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