Messages in this thread Patch in this message | | | From | Alon Bar-Lev <> | Subject | [PATCH 22/34] __initdata cleanup - fs | Date | Fri, 9 Feb 2007 17:26:53 +0200 |
| |
Trivial.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
diff -urNp linux-2.6.20-rc6-mm3.org/fs/dcache.c linux-2.6.20-rc6-mm3/fs/dcache.c --- linux-2.6.20-rc6-mm3.org/fs/dcache.c 2007-01-25 04:19:28.000000000 +0200 +++ linux-2.6.20-rc6-mm3/fs/dcache.c 2007-01-31 22:19:30.000000000 +0200 @@ -2009,7 +2009,7 @@ ino_t find_inode_number(struct dentry *d return ino; } -static __initdata unsigned long dhash_entries; +static __initdata unsigned long dhash_entries = 0l; static int __init set_dhash_entries(char *str) { if (!str) diff -urNp linux-2.6.20-rc6-mm3.org/fs/inode.c linux-2.6.20-rc6-mm3/fs/inode.c --- linux-2.6.20-rc6-mm3.org/fs/inode.c 2007-01-31 22:15:41.000000000 +0200 +++ linux-2.6.20-rc6-mm3/fs/inode.c 2007-01-31 22:19:30.000000000 +0200 @@ -1355,7 +1355,7 @@ void inode_double_unlock(struct inode *i } EXPORT_SYMBOL(inode_double_unlock); -static __initdata unsigned long ihash_entries; +static __initdata unsigned long ihash_entries = 0l; static int __init set_ihash_entries(char *str) { if (!str) diff -urNp linux-2.6.20-rc6-mm3.org/fs/nfs/nfsroot.c linux-2.6.20-rc6-mm3/fs/nfs/nfsroot.c --- linux-2.6.20-rc6-mm3.org/fs/nfs/nfsroot.c 2007-01-25 04:19:28.000000000 +0200 +++ linux-2.6.20-rc6-mm3/fs/nfs/nfsroot.c 2007-01-31 22:19:30.000000000 +0200 @@ -289,7 +289,7 @@ static int __init root_nfs_parse(char *n */ static int __init root_nfs_name(char *name) { - static char buf[NFS_MAXPATHLEN] __initdata; + static char buf[NFS_MAXPATHLEN] __initdata = { 0, }; char *cp; /* Set some default values */ - 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/
| |