[PATCH 7/10] 2.6.0-t3: struct C99 initialiser conversion

CaT
2003-08-19T06:41:02Z

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

linux/fs/ patch

--
"How can I not love the Americans? They helped me with a flat tire the
other day," he said.
- http://tinyurl.com/h6fo

[-- Attachment #2: 2.6.0-t3.c99.fs.patch --]
[-- Type: text/plain, Size: 1124 bytes --]

diff -aur linux.backup/fs/affs/file.c linux/fs/affs/file.c
--- linux.backup/fs/affs/file.c Mon Jan 27 13:41:42 2003
+++ linux/fs/affs/file.c Sun Aug 17 00:03:08 2003
@@ -793,8 +793,8 @@

struct address_space_operations affs_aops_ofs = {
.readpage = affs_readpage_ofs,
- //writepage: affs_writepage_ofs,
- //sync_page: affs_sync_page_ofs,
+ //.writepage = affs_writepage_ofs,
+ //.sync_page = affs_sync_page_ofs,
.prepare_write = affs_prepare_write_ofs,
.commit_write = affs_commit_write_ofs
};
diff -aur linux.backup/fs/jffs2/wbuf.c linux/fs/jffs2/wbuf.c
--- linux.backup/fs/jffs2/wbuf.c Thu Jun 26 23:47:48 2003
+++ linux/fs/jffs2/wbuf.c Sun Aug 17 00:04:26 2003
@@ -37,8 +37,8 @@
#define NAND_JFFS2_OOB16_FSDALEN 8

struct nand_oobinfo jffs2_oobinfo = {
- useecc: 1,
- eccpos: {JFFS2_OOB_ECCPOS0, JFFS2_OOB_ECCPOS1, JFFS2_OOB_ECCPOS2, JFFS2_OOB_ECCPOS3, JFFS2_OOB_ECCPOS4, JFFS2_OOB_ECCPOS5}
+ .useecc = 1,
+ .eccpos = {JFFS2_OOB_ECCPOS0, JFFS2_OOB_ECCPOS1, JFFS2_OOB_ECCPOS2, JFFS2_OOB_ECCPOS3, JFFS2_OOB_ECCPOS4, JFFS2_OOB_ECCPOS5}
};

static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c)